TextBoxes icon indicating copy to clipboard operation
TextBoxes copied to clipboard

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

Open ahmedmazari-dhatim opened this issue 7 years ago • 4 comments

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

ahmedmazari-dhatim avatar Jul 09 '17 15:07 ahmedmazari-dhatim

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

yingning avatar Jul 10 '17 02:07 yingning

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

19931991 avatar Dec 22 '17 12:12 19931991

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

inception6lxc avatar Feb 16 '18 16:02 inception6lxc

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

pinakinathc avatar Oct 30 '18 12:10 pinakinathc