使用GraphViz画caffe网络结构图

参考http://blog.csdn.net/happynear/article/details/45440709

1. 安装pydot:

sudo pip install pydot

 2. 安装Graphviz:

sudo apt-get install GraphViz

 3.调用并显示

sudo python draw_net.py ../examples/mnist/lenet_train_test.prototxt 1.jpg

 显示结果

posted @ 2016-05-05 12:03  dongbeidami  Views(797)  Comments(0Edit  收藏  举报