在使用Caffe命令sudo python python/draw_net.py examples/mnist/lenet_train_test.prototxt netImage/lenet.png --rankdir=BT
绘制网络结构时出现以下错误的解决方法:
pydot and graphviz error: Couldn't import dot_parser, loading of dot files will not be possible
解决方案:
sudo pip install pyparsing==1.5.7
sudo pip install pydot==1.0.28