mirror of
https://github.com/marian-nmt/marian.git
synced 2025-01-07 17:10:15 +03:00
more detailed message
This commit is contained in:
parent
90df5987c1
commit
c8e0b6ebd8
@ -108,7 +108,8 @@ void Validate(const YAML::Node& config) {
|
||||
// "Different number of models and weights in config file");
|
||||
|
||||
UTIL_THROW_IF2(config["maxi-batch"].as<int>() < config["mini-batch"].as<int>(),
|
||||
"maxi-batch < mini-batch");
|
||||
"maxi-batch (" << config["maxi-batch"].as<int>()
|
||||
<< ") < mini-batch (" << config["mini-batch"].as<int>() << ")");
|
||||
}
|
||||
|
||||
void OutputRec(const YAML::Node node, YAML::Emitter& out) {
|
||||
|
Loading…
Reference in New Issue
Block a user