I saw a similar problem, but it is also not resolved, so I decided to ask.
I am trying to introduce my model in keras using
from keras.utils import plot_model plot_model(model, to_file='model.png')
Firstly, he showed a mistake
ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.
Accordingly, I installed pydot and graphviz through the Anaconda prompt activating my environment using
conda install -c https://conda.binstar.org/t/TOKEN/j14r pydot conda install -c https://conda.binstar.org/t/TOKEN/j14r graphviz
Then I closed the spyder and reopened it. When I run the code snippet, it still shows the same error. What am I missing?
source share