Skip to content
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

Issue with keras.utils.plot_model -- Issue : You must install graphviz (see instructions at https://graphviz.gitlab.io/download/) for plot_model to work. #236

Open
debdeepsanyal opened this issue Mar 27, 2024 · 2 comments

Comments

@debdeepsanyal
Copy link

When i was about to execute keras.utils.plot_model() from a snippet in chapter - 07, i got the following error -- You must install graphviz (see instructions at https://graphviz.gitlab.io/download/) for "plot_model" to work.

Now, i have graphviz version 0.20.1 installed. im using keras version 3.0.5 and tensorflow version 2.16.1. and im running the code with a Python 3.12.1 kernel in VS code .ipynb notebook.

Can someone help me with this?

@ifond
Copy link

ifond commented Mar 27, 2024 via email

@shenchenbing
Copy link

'pip install pydot' is needed.
And don't forget to set environment variable for graphviz.
Try again if it works. I met this problem too when I was reading ch7. I don't remember if more setup steps are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants