Caffe绘制网络结构出现错误的解决方案

来源:互联网 发布:金税接口软件 编辑:程序博客网 时间:2024/05/16 18:46

在使用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.7sudo pip install pydot==1.0.28
2 0