Failed to import pydot. You must install pydot' ' and graphviz for `pydotprint` to work.
Pydot Download Link:https://pypi.python.org/pypi/pydot
Graphviz Download link: https://graphviz.gitlab.io/_pages/Dow...
Paste the pydot and graphviz in this directory: C:\anaconda3\envs\deeplearning(your environment)\Library\bin
add the graphviz path in your system Environment variables.
From command promp: activate deeplearning (your environment)
pip install C:\anaconda3\envs\deeplearning(your environment)\Library\bin\pydot
pip install C:\anaconda3\envs\deeplearning(your environment)\Library\bin\graphviz
or try
conda install graphviz
conda install pydot
Code:
import pydot_ng as pydot
pydot.find_graphviz()
plot_model(model, show_shapes=True, to_file='model.png')
See the problem in Github:https://github.com/keras-team/keras/b...