fast-rcnn icon indicating copy to clipboard operation
fast-rcnn copied to clipboard

fast-r-cnn: caffe.LayerParameter" has no field named "roi_pooling_param

Open hana9090 opened this issue 8 years ago • 4 comments

When I tried to run ./tools/demo.py of fast-r-cnn. working on UBUNTU 16.04 I got the following error, although the caffe is successfully installed!!

./tools/demo.py

WARNING: Logging before InitGoogleLogging() is written to STDERR
W0823 14:12:46.105280  4444 _caffe.cpp:122] DEPRECATION WARNING - deprecated use of Python interface
W0823 14:12:46.105316  4444 _caffe.cpp:123] Use this instead (with the named "weights" parameter):
W0823 14:12:46.105319  4444 _caffe.cpp:125] Net('/home/hana/Documents/try/fast-rcnn-master/models/VGG16/test.prototxt', 1, weights='/home/hana/Documents/try/fast-rcnn-master/data/fast_rcnn_models/vgg16_fast_rcnn_iter_40000.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 392:21: Message type "caffe.LayerParameter" has no field named "roi_pooling_param".
F0823 14:12:46.106595  4444 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/hana/Documents/try/fast-rcnn-master/models/VGG16/test.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)

Please any help?

hana9090 avatar Aug 23 '16 11:08 hana9090

my problem is like yours and i run it in ubuntu14.04

WARNING: Logging before InitGoogleLogging() is written to STDERR W0829 12:23:33.219240 29104 _caffe.cpp:122] DEPRECATION WARNING - deprecated use of Python interface W0829 12:23:33.219276 29104 _caffe.cpp:123] Use this instead (with the named "weights" parameter): W0829 12:23:33.219281 29104 _caffe.cpp:125] Net('/home/dawin/Downloads/FRCN_ROOT/fast-rcnn/models/CaffeNet/test.prototxt', 1, weights='/home/dawin/Downloads/FRCN_ROOT/fast-rcnn/data/fast_rcnn_models/caffenet_fast_rcnn_iter_40000.caffemodel') [libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 195:21: Message type "caffe.LayerParameter" has no field named "roi_pooling_param". F0829 12:23:33.233490 29104 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/dawin/Downloads/FRCN_ROOT/fast-rcnn/models/CaffeNet/test.prototxt *** Check failure stack trace: ***

dawin2015 avatar Aug 29 '16 04:08 dawin2015

It looks like you're trying to use a version of Caffe not included in fast-rcnn because your missing layers that aren't included in the main branch; you should try reinstalling using the version of caffe in the fast-rcnn branch.

mattm401 avatar Mar 06 '17 13:03 mattm401

I meet the same problem in ubuntu14.04, have you solve this problem please?

Jilliansea avatar Jul 17 '17 07:07 Jilliansea

I haven't had a chance to look into resolving this for myself yet, but it would be nice to find a solution.

mattm401 avatar Jul 17 '17 13:07 mattm401