您的位置:首页 > Web前端

for the problem ImportError: cannot import name symbol_database 'text_format'

2017-08-25 17:43 1001 查看

Problem:

ImportError: cannot import name symbol_database

Solution:

sudo pip install --upgrade protobuf
参考链接:

https://github.com/tgalal/yowsup/issues/503

这样又回到了这个问题:

AttributeError: 'module' object has no attribute 'text_format'

Solution:

solved by adding import google.protobuf.text_format
在./lib/fast_rcnn/train.py头部添加import google.protobuf.text_format
 
参考链接:

https://github.com/rbgirshick/py-faster-rcnn/issues/198
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  caffe faster rcnn
相关文章推荐