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

bn_param not found #139

Open
iabdullahjutt opened this issue Jul 3, 2018 · 1 comment
Open

bn_param not found #139

iabdullahjutt opened this issue Jul 3, 2018 · 1 comment

Comments

@iabdullahjutt
Copy link

I get the following error. Anything I can change to get it working?

abdullah@abdullah:~/Downloads/SegNet-Tutorial-master$ python Scripts/webcam_demo.py --model Example_Models/segnet_model_driving_webdemo.prototxt --weights Example_Models/segnet_weights_driving_webdemo.caffemodel --colours Scripts/camvid12.png

WARNING: Logging before InitGoogleLogging() is written to STDERR
W0703 14:15:52.485920 12549 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0703 14:15:52.485960 12549 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0703 14:15:52.485971 12549 _caffe.cpp:142] Net('Example_Models/segnet_model_driving_webdemo.prototxt', 1, weights='Example_Models/segnet_weights_driving_webdemo.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 47:12: Message type "caffe.LayerParameter" has no field named "bn_param".
F0703 14:15:52.487574 12549 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: Example_Models/segnet_model_driving_webdemo.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)

@mf27
Copy link

mf27 commented Oct 10, 2018

Make sure that the segnet-caffe is correctly imported (modify line 14 in webcam_demo.py).
For me, the error was that caffe_root didn't end with / (slash) (it needs to end with /).

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