caffe-windows
caffe-windows copied to clipboard
CAFFE.EXE停止工作
正常的编译,但是在训练的时候出现如下错误: D:\caffe-windows-master>run_mnist.bat D:\caffe-windows-master>.\bin\caffe.exe train --solver=".\examples\mnist\lenet_solver.prototxt" [libprotobuf ERROR D:\ThirdPartyLibrary\protobuf\src\google\protobuf\text_format.cc:291] Error parsing text-format caffe.SolverParameter: 25:8: Message type "caffe.SolverParameter" has no field named "solver". F0517 21:58:18.240008 9900 upgrade_proto.cpp:1063] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse SolverParameter file: .\examples\mnist\lenet_solver.prototxt *** Check failure stack trace: *** 而且caffe.exe已停止工作。。 请问有人遇见过这个问题吗?
我的text_format.cc在这个位置3rdparty\include\google\protobuf\
是啊。我的也是在这个位置,但是一运行.\bin\caffe.exe train --solver=".\examples\mnist\lenet_solver.prototxt" 的话,就出现上面的错误,显示出“D:\ThirdPartyLibrary\protobuf\src\google\protobuf\text_format.cc:291] ”这个路径,请问这个应该怎么修改呢?
是不是你以前的环境变量里有其他的第三方库,如果不是的话我也不知道了,我只是个小白
没有其他的第三库额。甚至“D:\ThirdPartyLibrary\protobuf\src\google\protobuf\text_format.cc:291] ”这个路径也不存在我的D盘的。你的成功运行了吗?
成功了
您好,请问这个问题您解决了吗?我也遇见了
我也遇到“D:\ThirdPartyLibrary\protobuf\src\google\protobuf\text_format.cc:291]
的情况,但原因不在protobuf路径上,在于Message type "caffe.SolverParameter" has no field named "solver"
,可以将这个错误搜索一下,有不少答案:lenet_solver.prototxt 文件的格式有误,设置错误的路径,将\改为/等等。