caffe underline neural network graph

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.

3. sudo pip install pydot

command:

python $caffe_root/python/draw_net.py $your_prototxt_path img.png


attach my network for your reference.



Released four original articles · won praise 1 · views 1658

Guess you like

Origin blog.csdn.net/lovingwestlife/article/details/79685195