rbgirshick / py-faster-rcnn

Faster R-CNN (Python implementation) -- see https://github.com/ShaoqingRen/faster_rcnn for the official MATLAB version
Other
8.13k stars 4.11k forks source link

"caffe.LayerParameter" has no field named "roi_pooling_param". #579

Open hadign20 opened 7 years ago

hadign20 commented 7 years ago

I'm trying to run the demo of py-faster-rcnn with the command: python ./tools/demo.py --gpu 0 --net vgg16

But it shows an error like this:

[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 350:21: Message type "caffe.LayerParameter" has no field named "roi_pooling_param". WARNING: Logging before InitGoogleLogging() is written to STDERR F0516 19:49:02.261417 2819 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/hadi/Software/py-faster-rcnn/models/pascal_voc/VGG16/faster_rcnn_alt_opt/faster_rcnn_test.pt Check failure stack trace: Aborted (core dumped)

How can I solve this problem?

riadhayachi commented 7 years ago

you need to compile the fast rcnn caffe not the master branch because there is somme modification

hadign20 commented 7 years ago

I followed the instructions of py-fasterrcnn page. You mean I should follow the fast-rcnn instead?

riadhayachi commented 7 years ago

try it it can solve the problem

aadityaks commented 5 years ago

hey, I am getting error too. image can anyone post the solution for it?