Adapt b_main to the new hyperparam file format

This commit is contained in:
Ricardo Montañana Gómez 2023-11-25 16:52:25 +01:00
parent ba2a3f9523
commit 64069a6cb7
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE

View File

@ -35,7 +35,7 @@ namespace platform {
hyperparameters[dataset] = json({});
continue;
}
hyperparameters[dataset] = input_hyperparameters[dataset].get<json>();
hyperparameters[dataset] = input_hyperparameters[dataset]["hyperparameters"].get<json>();
}
}
void HyperParameters::check(const std::vector<std::string>& valid, const std::string& fileName)