标题: 运行caffe的python/draw_net.py报错:AttributeError: 'google.protobuf.pye... [打印本页] 作者: 东方耀 时间: 2019-8-8 12:30 标题: 运行caffe的python/draw_net.py报错:AttributeError: 'google.protobuf.pye... 运行caffe的python/draw_net.py报错:AttributeError: 'google.protobuf.pyext._message.RepeatedScalarConta' object has no attribute '_values'
使用caffe的可视化工具 生成模型结构图
AttributeError: ‘google.protobuf.pyext._message.RepeatedScalarConta’ object has no attribute ‘_values’
This requires pydot>=1.0.2, which is not included in requirements.txt since
it requires graphviz and other prerequisites outside the scope of the
Caffe.
sudo apt-get install graphviz
pydot is not supported under python 3 and pydot2 doesn't work properly.
pydotplus works nicely (pip install pydotplus)