ShiqiYu / libfacedetection

An open source library for face detection in images. The face detection speed can reach 1000FPS.
Other
12.27k stars 3.05k forks source link

Error parsing text-format caffe.NetParameter: 813:14: Message type "caffe.LayerParameter" has no field named "norm_param". #92

Closed goodhope258 closed 5 years ago

goodhope258 commented 5 years ago

WARNING: Logging before InitGoogleLogging() is written to STDERR W0315 13:06:33.427579 26834 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface W0315 13:06:33.427621 26834 _caffe.cpp:140] Use this instead (with the named "weights" parameter): W0315 13:06:33.427628 26834 _caffe.cpp:142] Net('/opt/libfacedetection/models/caffe/yufacedetectnet-open-v1.prototxt', 1, weights='/opt/libfacedetection/models/caffe/yufacedetectnet-open-v1.caffemodel') [libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.NetParameter: 813:14: Message type "caffe.LayerParameter" has no field named "norm_param". F0315 13:06:33.432250 26834 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /opt/libfacedetection/models/caffe/yufacedetectnet-open-v1.prototxt Check failure stack trace: Aborted (core dumped)

goodhope258 commented 5 years ago

/opt/libfacedetection/models/caffe$ /usr/bin/python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import caffe caffe.version '1.0.0'

GP1390 commented 5 years ago

the same problem

xuanyuyt commented 5 years ago

You need change your caffe version to SSD

ShiqiYu commented 5 years ago

Please use NVidia Caffe which supports SSD.

xuanyuyt notifications@github.com于2019年3月16日 周六22:58写道:

You need change your caffe version to SSD

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ShiqiYu/libfacedetection/issues/92#issuecomment-473538713, or mute the thread https://github.com/notifications/unsubscribe-auth/AG0eHTaDOUtk2IKWZBZq2Fjk3HA_tUo8ks5vXQaegaJpZM4b1uUa .