Error parsing text-format caffe.NetParameter - Failed to parse NetParameter file

174 views
Skip to first unread message
Assigned to sergey...@gmail.com by pippo...@gmail.com

Andrea

unread,
Feb 11, 2020, 1:25:34 PM2/11/20
to Caffe Users
Hi, I'm a student and I'm looking to learn how to use the coffee framework. I'm trying to use a pre-trained model. I am using windows and as far as I understand I have to use the command from cmd 'caffe test -model path / to / file.prototxt -weights path / to / file.caffemodel' but I get this errors:
  • [libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 1752:17: Message type "caffe.LayerParameter" has no field named "permute_param"
  • F0211 19: 04: 51.749816 4472 upgrade_proto. cpp: 88] Check failed: ReadProtoFromTextFile (param_file, param) Failed to parse NetParameter file: models \ SSD_RPA512.prototxt

post entire cmd command input and output:

caffe test -model "modelli\SSD_RPA512.prototxt" -weights "modelli\VGG_RPA512_Hardhat_iter_148000.caffemodel"

I0211 19:04:49.894960  4472 caffe.cpp:285] Use CPU.
I0211 19:04:51.727119  4472 common.cpp:36] System entropy source not available, using fallback algorithm to generate seed instead.
[libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 1752:17: Message type "caffe.LayerParameter" has no field named "permute_param".
F0211 19:04:51.749816  4472 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: modelli\SSD_RPA512.prototxt
*** Check failure stack trace: ***

How can i solve it?
Ty!
Reply all
Reply to author
Forward
0 new messages