I'm trying plot my model on the google colab.
from keras.utils import plot_model
plot_model(model, to_file="model.png")
and I got this error:
ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.
I've installed pydot-ng
and graphviz
and I'm still can't get through this error.
To install pydot
, run:
!pip install -q pydot
Then, restart your VM to reload keras which should then detect pydot's existence. (Runtime menu -> Restart runtime...)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With