Python 运行py更快的rcnn demo.py时出错

Python 运行py更快的rcnn demo.py时出错,python,deep-learning,caffe,Python,Deep Learning,Caffe,我克隆了py更快的rcnn并按照readme.md执行。 当我运行演示时: ./tools/demo.py it show error like that: WARNING: Logging before InitGoogleLogging() is written to STDERR W0714 20:05:17.716984 10629 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface W0714

我克隆了py更快的rcnn并按照readme.md执行。 当我运行演示时: ./tools/demo.py

it show error like that:
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0714 20:05:17.716984 10629 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0714 20:05:17.717007 10629 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0714 20:05:17.717011 10629 _caffe.cpp:142] Net('/home/liuyuhang/py-faster-rcnn/models/pascal_voc/VGG16/faster_rcnn_alt_opt/faster_rcnn_test.pt', 1, weights='/home/liuyuhang/py-faster-rcnn/data/faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 350:21: Message type "caffe.LayerParameter" has no field named "roi_pooling_param".
F0714 20:05:17.718535 10629 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/liuyuhang/py-faster-rcnn/models/pascal_voc/VGG16/faster_rcnn_alt_opt/faster_rcnn_test.pt
*** Check failure stack trace: ***

我如何解决这个问题?

您的python版本是什么?您是否使用了作为py更快的rcnn存储库中的子模块提供的Caffe版本?我的python版本是ubuntu14.04的默认版本,即python 2.7.13I刚刚从github克隆了Caffe,并将其移动到caffe fast rcnn folderI尝试从更快的rcnn github克隆外部/caffe