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...)