caffe 跑模型报错 Error parsing text-format caffe.NetParameter: 3707:25: Message type "caffe.LayerParamet

WARNING: Logging before InitGoogleLogging() is written to STDERR
W0129 17:35:40.717015 14357 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0129 17:35:40.717033 14357 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0129 17:35:40.717036 14357 _caffe.cpp:142] Net('/home/kangle/model/package_model/test_agnostic_ohem.prototxt', 1, weights='/home/kangle/model/package_model/resnet50_rfcn_ohem_iter_450000.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 3707:25: Message type "caffe.LayerParameter" has no field named "psroi_pooling_param".
F0129 17:35:40.718103 14357 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/kangle/model/package_model/test_agnostic_ohem.prototxt

*** Check failure stack trace: ***


原因:Faster-RCNNrequires its own branch of caffe. This branch includes roi_pooling_layer and its associated parameters.

解决:更换对应的caffe版本

          https://github.com/rbgirshick/fast-rcnn#installation-sufficient-for-the-demo 

你可能感兴趣的:(随记)