From 64069a6cb774f9a36ef9aa5c0e0ba6e59b5c3a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Sat, 25 Nov 2023 16:52:25 +0100 Subject: [PATCH] Adapt b_main to the new hyperparam file format --- src/Platform/HyperParameters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform/HyperParameters.cc b/src/Platform/HyperParameters.cc index 3875fe6..92d56d7 100644 --- a/src/Platform/HyperParameters.cc +++ b/src/Platform/HyperParameters.cc @@ -35,7 +35,7 @@ namespace platform { hyperparameters[dataset] = json({}); continue; } - hyperparameters[dataset] = input_hyperparameters[dataset].get(); + hyperparameters[dataset] = input_hyperparameters[dataset]["hyperparameters"].get(); } } void HyperParameters::check(const std::vector& valid, const std::string& fileName)