Error while training Message type "caffe.SolverParameter" has no field named "eval_type".

44 views
Skip to first unread message

surendra allam

unread,
Aug 11, 2021, 5:48:17 AM8/11/21
to Caffe Users
Hello,

     I could install Caffe from BVLC github source with GPU support, but when trying to train on Mobilenet SSD facing an issue as below.

[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.SolverParameter: 22:10: Message type "caffe.SolverParameter" has no field named "eval_type".
F0811 15:07:56.322625 32558 upgrade_proto.cpp:1121] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse SolverParameter file: solver_train_gpu.prototxt
*** Check failure stack trace: ***
    @     0x7f2dc67dd0cd  google::LogMessage::Fail()
    @     0x7f2dc67def33  google::LogMessage::SendToLog()
    @     0x7f2dc67dcc28  google::LogMessage::Flush()
    @     0x7f2dc67df999  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f2dc6fb41a1  caffe::ReadSolverParamsFromTextFileOrDie()
    @     0x561dfd08da6b  (unknown)
    @     0x561dfd08ab10  (unknown)
    @     0x7f2dc55ddbf7  __libc_start_main
    @     0x561dfd08b4ba  (unknown)
Aborted (core dumped)

Need help to resolve the issue.

surendra allam

unread,
Aug 11, 2021, 5:51:54 AM8/11/21
to Caffe Users
Followed installation process w.r.t link.
Thanks in advcance. 

surendra allam

unread,
Aug 11, 2021, 5:59:37 AM8/11/21
to Caffe Users
### Issue summary
I could install Caffe from BVLC GitHub source with GPU support successfully, but when trying to train on [Mobilenet SSD](https://github.com/chuanqi305/MobileNet-SSD) facing an issue as below.

```
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.SolverParameter: 22:10: Message type "caffe.SolverParameter" has no field named "eval_type".
F0811 15:07:56.322625 32558 upgrade_proto.cpp:1121] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse SolverParameter file: solver_train_gpu.prototxt
*** Check failure stack trace: ***
    @     0x7f2dc67dd0cd  google::LogMessage::Fail()
    @     0x7f2dc67def33  google::LogMessage::SendToLog()
    @     0x7f2dc67dcc28  google::LogMessage::Flush()
    @     0x7f2dc67df999  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f2dc6fb41a1  caffe::ReadSolverParamsFromTextFileOrDie()
    @     0x561dfd08da6b  (unknown)
    @     0x561dfd08ab10  (unknown)
    @     0x7f2dc55ddbf7  __libc_start_main
    @     0x561dfd08b4ba  (unknown)
Aborted (core dumped)
```

Need help to resolve the issue.
Followed installation process w.r.t [link](http://caffe.berkeleyvision.org/installation.html).


### System configuration

* Operating system: Ubuntu
* Compiler: gcc
* CUDA version (if applicable): 11.4
* CUDNN version (if applicable): NA
* BLAS: ATLAS
* Python version (if using pycaffe): 3.6.9
* MATLAB version (if using matcaffe): 
Reply all
Reply to author
Forward
0 new messages