I refer to work in the Coursera environment. The command worked for all previous assignments.
It is not working now.
(I also attempted to do it in my own environment and it also failed, with the same suggestion to install Graphviz. I tried to install it, with Anaconda Nav or directly from the console, but failed. Even the Graphviz website states that there are “issues” with installation.)
I understand. but the question is not about Graphviz; it is why plot_model is failing in the Coursera environment. Perhaps you could check whether it fails when you attempt to graph a model in Coursera. I doubt it is a local issue with my computer, because everything else in the Coursera environment works.
Where exactly do you see this call? I just searched the notebook file, and I did not find any reference to plot_model, or to tf.keras.utils in any form.
based on his error message. I felt he is using his local Jupyter notebook or there is some metadata error.
Because his error tells 155 see instructions at Download should not come as the cell was given already by the grader and he had to only run the cell.
I suppose if he refreshes and update his work environment, it should get him the latest version. Or the same Reboot step.
But he should first share the screenshot of his error as he has shared only a part of the error, for anyone to understand more clearly about his issue.
Dear Mentors, thanks for your concern! .
I append below four screen shots.
(1) A screenshot from an earlier assignment (transfer learning with Resnets), showing the use of plot_model (imported from tf.keras.utils) in the Coursera environment. (Last year).
(2-4) Then three screen shots of a traceback of the error I am getting now, also in the Coursera environment, when I use the same statement in screen shot 1, trying to graph the semantic segmentation assignment model.
Sometimes I get the error traced in the error message, referring to pydot(), other times the one in red in screen shot 3, referring to the need to install Graphviz. Don’t know exactly why I get one or the other. The point is: plot_model does not work in the present Coursera environment.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX
I recommend you install the current notebook. Yours is obsolete.
I will verify the details later today, but I believe there have been changes on the server end of this assignment, which make your old notebook unusable.