sanghoon / pva-faster-rcnn

Demo code for PVANet
https://arxiv.org/abs/1611.08588
Other
650 stars 241 forks source link

Error: Caffe.LayerParameter" has no field named "smooth_l1_loss_param" #76

Open yzhang123 opened 7 years ago

yzhang123 commented 7 years ago

Hi I am trying to use tools/test_net.py on my own test data with the model models/pvanet/pva9.1/PVA9.1_ImgNet_COCO_VOC0712plus.caffemodel and models/pvanet/pva9.1/faster_rcnn_train_test_21cls.pt

However, the error_message is: W0503 15:56:22.701463 25382 _caffe.cpp:123] Use this instead (with the named "weights" parameter): W0503 15:56:22.701469 25382 _caffe.cpp:125] Net('models/pvanet/pva9.1/faster_rcnn_train_test_21cls.pt', 1, weights='models/pvanet/pva9.1/PVA9.1_ImgNet_COCO_VOC0712plus.caffemodel') [libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 6478:24: Message type "caffe.LayerParameter" has no field named "smooth_l1_loss_param". F0503 15:56:22.715694 25382 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/pvanet/pva9.1/faster_rcnn_train_test_21cls.pt Check failure stack trace: Aborted (core dumped)

Thanks alot for your help @sanghoon

yzhang123 commented 7 years ago

Ok i fixed it, my caffe version was not correctly built, so layers were missing

EchoCong commented 7 years ago

@yzhang123 hi,could you tell me how you fix this error in detail, I have the same error. Which caffe version is correct?

shaileshvedula commented 6 years ago

@yzhang123 I am also facing the same issue. Could you please tell me which version of caffe you used?

JingchangHuang commented 5 years ago

@yzhang123, I am facing the problem, may you help me?

JingchangHuang commented 5 years ago

@sanghoom, I am facing the same problem, may you help me?

Jackandrome commented 5 years ago

which caffe version should be installed