博主Ubuntu系统,利用plot_model输出图网络时报错:
Failed to import pydot. You must install pydot and graphviz for `pydotprint`
解决方法:
#安装包
conda install pydotplus
conda install graphviz
import pydotplus
from keras.utils import plot_model
keras.utils.vis_utils.pydot = pydotplus
plot_model(your_model_name, to_file='model.png', show_shapes=True)