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

来源:互联网 发布:evanescence知乎 编辑:程序博客网 时间:2024/06/05 04:28

在训练faster-r-cnn的时候,出现了 AttributeError: 'module' object has no attribute 'text_format'。


这个问题是因为protobuf的版本问题,在./lib/fast_rcnn/train.py增加 import google.protobuf.text_format 即可。

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