Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
waterbellobin opened this issue Sep 7, 2018 · 1 comment
Open

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

waterbellobin opened this issue Sep 7, 2018 · 1 comment

Comments

@waterbellobin
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants