Improve message when no hyperopt fie is found

closes #6266
This commit is contained in:
Matthias
2022-01-21 15:23:06 +01:00
parent 730d2e3574
commit bb1d8fb54f
4 changed files with 12 additions and 1 deletions

View File

@@ -137,6 +137,7 @@ class HyperoptTools():
}
if not HyperoptTools._test_hyperopt_results_exist(results_file):
# No file found.
logger.warning(f"Hyperopt file {results_file} not found.")
return [], 0
epochs = []