caffe下画神经网络图
precondition:
1. install correct protobuf version, after trying, please install 2.6.1
sudo pip uninstall protobuf
sudo pip install protobuf==2.6.1
if you install 2.5.0 version, you may encounter symbol_database not found error;
2. sudo apt-get install graphviz
please install graphviz first, or it may throw "dot' not found error.
command:
python $caffe_root/python/draw_net.py $your_prototxt_path img.png
attach my network for your reference.