[keras] 模型可视化plot_model
from keras.utils.vis_utils import plot_model
plot_model(model, to_file="model.png",show_shapes=True);这里写代码片
环境:anaconda+ubuntu
安装graphviz:conda install -c conda-forge graphviz
安装pydot:conda install -c conda-forge pydot
安装libgd:conda install -c conda-forge libgd
安装fontconfig:conda install -c conda-forge fontconfig
安装gperf:conda install -c conda-forge gperf