使用keras的utils的 plot_model功能报错,即使安装了pydot也无济于事。
`pydot` failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are in the $PATH.
1,安装Graphviz软件
https://graphviz.org/download/
下载smi文件一路next安装即可
2,配置Graphviz软件环境变量

3,找到pydot源码

4,修改源码如下
本文解决使用Keras的utils.plot_model功能时遇到的错误,详细步骤包括安装Graphviz软件、配置环境变量及修改pydot源码,确保GraphViz可被调用。
5876





