keras-graphviz

解决keras模型可视化的问题

问题

  • 在运行Keras框架上的可视化代码时,遇到如下问题:
1
OSError: pydot failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are in the $PATH.

解决

  • 安装相关模块:
1
2
3
pip install pydot-ng 
pip install graphviz
pip install pydot==1.2.3
  • 下载文件:raphviz-2.38.msi

  • 下载完成后直接安装到自己的指定目录,然后将其bin目录添加到环境变量

  • 完成


0%