fchollet / deep-learning-with-python-notebooks

Jupyter notebooks for the code samples of the book "Deep Learning with Python"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

debdeepsanyal opened this issue · comments

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?

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