Traceback (most recent call last):
File "draw_net.py", line 58, in <module>
main()
File "draw_net.py", line 54, in main
phase)
File "/home/dxy/src/caffe-master-debug/python/caffe/draw.py", line 244, in draw_net_to_file
fid.write(draw_net(caffe_net, rankdir, ext, phase))
File "/home/dxy/src/caffe-master-debug/python/caffe/draw.py", line 223, in draw_net
return get_pydot_graph(caffe_net, rankdir, phase=phase).create(format=ext)
File "/home/dxy/src/anaconda2/lib/python2.7/site-packages/pydot.py", line 1883, in create
prog=prog))
Exception: "dot" not found in path.
安装:sudo apt-get insall graphviz
然后安装pydot:pip install pydot
如果碰到:ImportError: No module named graphviz
安装:pip install graphviz