ubuntu下keras模型可视化问题

在使用keras的plot_model时出现以下错误

OSError: `pydot` failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are in the $PATH.

解决办法

sudo apt-get install graphviz
pip install graphviz
pip install pydot
pip install pydot-ng

你可能感兴趣的:(深度学习,keras)