-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model visualization #5313
Comments
I met this problem before. did you install graphviz? on OSX after installation, you should be able to run |
Thanks, I have the graphviz installed and I can run dot -h, too. |
@AziziShekoofeh, thanks for reporting the issue here. In support of the OP, I should note that this is a bug in The I recommend the following changes to
Also, |
cf also #3216, which didn't resolve the issue. |
@johnyf Thanks for the thorough explanation. |
Still have the same error even after installing pydot_ng. OS Windows 10, latest Keras + TF 1.0 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed. |
Is there any activity on this issue? I am having difficulty addressing the problem. I have graphviz installed on windows (using anaconda) and also able to import following libraries: |
I have spent all day installing and reinstalling all those pydot(latest version), pydot=1.1.0, pydot-ng....but nothing gave difference...python succesfully imports them but cannot run this line (plot_model(rm.model, to_file=meth + '.png')) and arises error "cannot import pydot please install bla bla.." |
Have you tried with |
based on the pydot/pydot#126 , It seems it's a Keras problem and maybe Keras need a update in this part.
I can import pydot.find_graphviz, either using pydot_ng or pydot in my own codes but it is generating the error. Apparently it's trying to call:
"Firstly, that the line if not pydot.find_graphviz() is reached means that either pydot_ng or pydot was imported. That an ImportError is raised on the next line means that either pydot_ng was succesfully imported, or an older version of pydot. With the current pydot, an AttributeError would have been raised instead by the line if not ...."
The text was updated successfully, but these errors were encountered: