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

test error #15

Closed
zhuliqian opened this issue Jul 18, 2018 · 8 comments
Closed

test error #15

zhuliqian opened this issue Jul 18, 2018 · 8 comments

Comments

@zhuliqian
Copy link

models/textspotter.caffemodel
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0718 15:41:54.913141 23734 _caffe.cpp:140] DEPRECATION WARNING - deprecated use of Python interface
W0718 15:41:54.913169 23734 _caffe.cpp:141] Use this instead (with the named "weights" parameter):
W0718 15:41:54.913173 23734 _caffe.cpp:143] Net('models/test_iou.pt', 1, weights='models/textspotter.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 7067:24: Message type "caffe.LayerParameter" has no field named "point_bilinear_param".
F0718 15:41:54.915925 23734 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/test_iou.pt
*** Check failure stack trace: ***
Aborted (core dumped)

@tonghe90
Copy link
Owner

Can you describe more specific? How can I reimplement the error?

@zhuliqian
Copy link
Author

when I run python test.py --img=imgs/img_105.jpg
An error occurred
Called with args:
Namespace(img='imgs/img_105.jpg', nms=0.2, prototxt_iou='models/test_iou.pt', prototxt_lstm='models/test_lstm.pt', save_dir='results', scales='2240, 1920, 1792, 2080', thresholds='0.95, 0.95, 0.95, 0.95', weight='models/textspotter.caffemodel')
models/textspotter.caffemodel
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0718 15:41:54.913141 23734 _caffe.cpp:140] DEPRECATION WARNING - deprecated use of Python interface
W0718 15:41:54.913169 23734 _caffe.cpp:141] Use this instead (with the named "weights" parameter):
W0718 15:41:54.913173 23734 _caffe.cpp:143] Net('models/test_iou.pt', 1, weights='models/textspotter.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 7067:24: Message type "caffe.LayerParameter" has no field named "point_bilinear_param".
F0718 15:41:54.915925 23734 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/test_iou.pt
*** Check failure stack trace: ***
Aborted (core dumped)
caffe,pycaffe都make了,由于之前有一个错,所以在test.py里改了这里
old_path = os.getcwd()
os.chdir(caffe_root + "/python")
import caffe
os.chdir(old_path)

用的python2.7 cuda8 cudnn6

@yeLer
Copy link

yeLer commented Jul 18, 2018

image
I have the problem which is same as you.have you solved it?

@zhuliqian
Copy link
Author

沒有

@tonghe90
Copy link
Owner

Hi @zhuliqian @yeLer , can you rebuild caffe. Make sure 'make clean' before remake it.

@zhuliqian
Copy link
Author

好了,非常感謝!

@tonghe90
Copy link
Owner

@zhuliqian @yeLer I will close this and add it to the READ.ME

@yeLer
Copy link

yeLer commented Jul 19, 2018

I have solved the problem.First I used the caffe version which is Original ecology,but some layers in this project had been modified by author.so I need to used the caffe which comes from this project.Second when I compile this caffe,I meet a new problem( make: *** [.build_release/src/caffe/layers/at_layer.o] Error 1).Fortunately,this link #9 help me a lot.Now I could run it normally.Thank you very much!
image

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

3 participants