TimoSaemann / caffe-segnet-cudnn5

This repository was a fork of BVLC/caffe and includes the upsample, bn, dense_image_data and softmax_with_loss (with class weighting) layers of caffe-segnet (https://github.com/alexgkendall/caffe-segnet) to run SegNet with cuDNN version 5.
Other
176 stars 127 forks source link

test_segmentation.cpp Failed to parse NetParameter file #10

Closed xunkaixin closed 7 years ago

xunkaixin commented 7 years ago

Issue summary

Hello I tried to run the code test_segmentation.cpp CPU_ONLY . I get the error

./test_segmentation.bin Example_Models/bayesian_segnet_camvid.prototxt weights/bayesian_segnet_camvid.caffemodel CamVid/test/Seq05VD_f01230.png Scripts/camvid12.png

[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 450:24: Message type "caffe.DropoutParameter" has no field named "sample_weights_test". F0411 15:32:52.484048 26838 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: Example_Models/bayesian_segnet_camvid.prototxt

Any suggestions on getting this working?

thank you!

Operating system: ubuntu 16.04

TimoSaemann commented 7 years ago

Hi, I have added _sample_weightstest to caffe-segnet-cudnn5.

xunkaixin commented 7 years ago

thank you! it works

zhuyizi commented 7 years ago

Hello,did you solve this problem?Can you tell me about what should be done to solve it?