MhLiao / TextBoxes

TextBoxes: A Fast Text Detector with a Single Deep Neural Network
https://github.com/MhLiao/TextBoxes
Other
631 stars 154 forks source link

Error parsing text-format caffe.NetParameter: 758:14: Message type "caffe.LayerParameter" has no field named "norm_param". F0709 17:08:07.915925 6370 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter #45

Open ahmedmazari-dhatim opened 7 years ago

ahmedmazari-dhatim commented 7 years ago

Hello, l got the following error while running :

python demo.py

l got the following error :

WARNING: Logging before InitGoogleLogging() is written to STDERR
W0709 17:08:07.867985  6370 _caffe.cpp:135] DEPRECATION WARNING - deprecated use of Python interface
W0709 17:08:07.868007  6370 _caffe.cpp:136] Use this instead (with the named "weights" parameter):
W0709 17:08:07.868028  6370 _caffe.cpp:138] Net('/home/ahmed/TextBoxes/examples/TextBoxes/deploy.prototxt', 1, weights='/home/ahmed/TextBoxes/examples/TextBoxes/TextBoxes_icdar13.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 758:14: Message type "caffe.LayerParameter" has no field named "norm_param".
F0709 17:08:07.915925  6370 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/ahmed/TextBoxes/examples/TextBoxes/deploy.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)
Thanks a lot
yingning commented 7 years ago

Modify the caffe_root path to your TextBoxes ' caffe path. Good luck.@ahmedmazari-dhatim

19931991 commented 6 years ago

Do you solve the problem, I want to know the method. I hope we can connect with each other by qq, my qq is 1323369151. Thanks! @ahmedmazari-dhatim

inception6lxc commented 6 years ago

Hello bro!I am fresh in caffe and Textboxes.Could u tell me how to solve this problem in detail.Thank u very much! @yingning

pinakinathc commented 5 years ago

Modify the caffe_root path to your TextBoxes ' caffe path. Good luck.@ahmedmazari-dhatim

@yingning i am facing the same issue. can you please elaborate what do you mean by that statement? Also, I am wondering was this issue resolved?

I cloned original caffe from <github.com/BVLC/caffe.git> did the following export PYTHONPATH=/path/to/caffe/python

this was how the demo.py was able to import caffe