- GraphViz
在python中报错 OSError: pydot failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are in the $PATH.
其实是pydot的锅。
额,pydot已经停止开发了,python3.5和python3.6已经用不起来。
对策是:
pip uninstall pydot
pip install pydotplus
然后找到keras里面的utils\vis_utils.py,把里面的pydot的都替换成pydotplus。