ubuntu中keras模块plot_model安装

首次在ubuntu系统下使用plot_model,报错ImportError: ('Failed to import pydot. You must `pip install pydot` and install graphviz (https://graphviz.gitlab.io/download/), ', 'for `pydotprint` to work.')

终端输入以下命令:

pip install pydot

sudo apt-get install graphviz

你可能感兴趣的:(深度学习,ubuntu,linux,python)