遇到如下错误:
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 1220:19: String literals cannot cross line boundaries.
F1114 09:45:26.187687 15078 upgrade_proto.cpp:68] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: ./config/deeplab_largeFOV/train_train_aug.prototxt
解决方法:注意数字1220:19
在train_train_aug.prototxt文件的第1220行的第19个字符出有错误,我的错误是少了一个双引号“符号,修改后就可以运行。
本文详细介绍了在使用Caffe框架时遇到的NetParameter解析错误:字符串不能跨行。错误发生在配置文件train_train_aug.prototxt的1220行19字符处,缺少双引号。修正此错误后,项目得以顺利运行。

被折叠的 条评论
为什么被折叠?



