问题运行python fastmask示例

时间:2017-10-07 07:05:57

标签: python caffe pycaffe

我正在尝试在https://github.com/voidrank/FastMask中运行示例,特别是Image Demo。克隆并构建存储库后,我运行以下命令:

python image_demo.py 0 fm-res39 input.jpg --init_weights=fm-res39_final_params.caffemodel 

但是,我最终收到以下错误:

Net('fastmask/models/fm-res39.test.prototxt', 1, weights='fastmask/params/fm-res39_final_params.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 3629:24: Message type "caffe.LayerParameter" has no field named "sliding_window_param".
F1007 02:15:28.920272 13342 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: fastmask/models/fm-res39.test.prototxt

" sliding_window_parameter"似乎存在问题。但我不确定如何处理它。有什么想法吗?

0 个答案:

没有答案