keras 网络结构模型可视化

官方文档:
http://keras-cn.readthedocs.io/en/latest/other/visualization/

pip安装pydot和graphviz:
pip install pygot
pip install graphviz

发现还是报错:
ImportError: Failed to import pydot. You must install pydot and graphviz for pydotprint to work.

之后找到这个:
https://stackoverflow.com/questions/36886711/keras-runtimeerror-failed-to-import-pydot-after-installing-graphviz-and-pyd

sudo apt-get install graphviz
就好了~~~

你可能感兴趣的:(keras 网络结构模型可视化)