marian-nmt / marian

Fast Neural Machine Translation in C++
https://marian-nmt.github.io
Other
1.21k stars 227 forks source link

Unexpected translator yaml config validation error in version 1.11.0 #385

Open Vykstorm opened 2 years ago

Vykstorm commented 2 years ago

Bug description

Marian server (1.11.0) raises a yaml configuration error due to line 57 of src/config/config_validator.cpp no matter which command line arguments you specify. I know this because i debugged the source code by adding breaking points. The error raised by marian server is the next: YAML::InvalidNode: This may result from using a map iterator as a sequence iterator, or vice-versa Marian server can be deployed correctly by commenting that line.

How to reproduce

Run: ./build/marian-server -m <your model>.npz (version 1.11.0) where .npz is a valid model. You can also include any other command line argument.

Context