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
相关文章推荐
- for the problem ImportError: cannot import name symbol_database 'text_format'
- 小记:解决问题ImportError: cannot import name symbol_database
- caffe:cannot import name symbol_database/ protobuf problem in caffe
- Error 3724:Cannot drop the table 'object_name' because it is being used for replication.-ZT
- Error retrieving parent for item: No resource found that matches the given name 'TextTheme'
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error 3724:Cannot drop the table 'object_name' because it is being used for replication.
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- python安装配置Theano ImportError:cannot import name 'configparser'
- Error creating bean with name 'XXX' in the [XXXX.xml] --The import XXX cannot be resolved
- The Note of the Paper "Optimal Decoding of Linear Codes for Minimizing Symbol Error Rate"(1)
- Error retrieving parent for item: No resource found that matches the given name 如何解决
- Cannot drop the database ‘XXX’ because it is being used for replication.
- The Table <table name> cannot be found on the database
- python使用scipy.misc import imread报错:ImportError: cannot import name imread
- Dagger 2 build出现错误: error: the import javax.annotation.Generated cannot be resolved
- Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:T
- ImportError: cannot import name '_ellipsoid'
- carbon报错 Python Error - ImportError: cannot import name daemonize