Feature-Fused-SSD icon indicating copy to clipboard operation
Feature-Fused-SSD copied to clipboard

"caffe.LayerParameter" has no field named "norm_param".

Open pratikadarsh opened this issue 5 years ago • 0 comments

Environment:

OS : Ubuntu 16.04 Python: 3.6 Caffe : 1.0.0

Code:

import caffe net = caffe.Detector('deploy.prototxt', 'weights.caffemodel')

StackTrace:

WARNING: Logging before InitGoogleLogging() is written to STDERR W0520 15:37:31.083395 6499 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface W0520 15:37:31.099323 6499 _caffe.cpp:140] Use this instead (with the named "weights" parameter): W0520 15:37:31.099341 6499 _caffe.cpp:142] Net('deploy.prototxt', 1, weights='weights.caffemodel') [libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.NetParameter: 871:14: Message type "caffe.LayerParameter" has no field named "norm_param". F0520 15:37:31.102648 6499 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: deploy.prototxt *** Check failure stack trace: *** Aborted (core dumped)

Please help in resolving the issue.

pratikadarsh avatar May 20 '19 10:05 pratikadarsh