nqanh / affordance-net

AffordanceNet - Multiclass Instance Segmentation Framework - ICRA 2018
Other
121 stars 54 forks source link

I get some errors while doing python demo_img.py #35

Open waterbellobin opened 6 years ago

waterbellobin commented 6 years ago

Hi I am using ubuntu 1604 and I have successfully downloaded caffe. But I got this error and there is no description about this error online.

AffordanceNet root folder: /home/sujong/affordance_net/affordance-net WARNING: Logging before InitGoogleLogging() is written to STDERR W0907 16:15:43.276456 5336 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface W0907 16:15:43.276486 5336 _caffe.cpp:140] Use this instead (with the named "weights" parameter): W0907 16:15:43.276489 5336 _caffe.cpp:142] Net('/home/sujong/affordance_net/affordance-net/models/pascal_voc/VGG16/faster_rcnn_end2end/test.prototxt', 1, weights='/home/sujong/affordance_net/affordance-net/pretrained/AffordanceNet_200K.caffemodel') [libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 490:23: Message type "caffe.LayerParameter" has no field named "roi_alignment_param". F0907 16:15:43.277683 5336 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/sujong/affordance_net/affordance-net/models/pascal_voc/VGG16/faster_rcnn_end2end/test.prototxt Check failure stack trace: [6] 5336 abort (core dumped) python demo_img.py

Can anyone please help me?

HuchieWuchie commented 2 years ago

Hi there.

As I understand it, it is because you have not compiled the Caffe version provided with affordancenet, but rather used the standard Caffe, which is located in affordance-net/caffe-affordance-net/. See step 2 of the installation instructions.