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

来源:互联网 发布:楼梯扶手立柱高度算法 编辑:程序博客网 时间:2024/05/17 04:00

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

阅读全文
0 0
原创粉丝点击