Skip to content
Snippets Groups Projects
Commit 4574ee9f authored by leufen1's avatar leufen1
Browse files

update missing parameter in test

parent 601aaeef
No related branches found
No related tags found
4 merge requests!432IOA works now also with xarray and on identical data, IOA is included in...,!431Resolve "release v2.1.0",!430update recent developments,!419Resolve "loss plot with best result marker"
Pipeline #100268 passed
...@@ -360,7 +360,7 @@ class TestTraining: ...@@ -360,7 +360,7 @@ class TestTraining:
assert len(glob.glob(os.path.join(path, "plots", "TestExperiment_history_*.pdf"))) == 0 assert len(glob.glob(os.path.join(path, "plots", "TestExperiment_history_*.pdf"))) == 0
history.model.output_names = mock.MagicMock(return_value=["Main"]) history.model.output_names = mock.MagicMock(return_value=["Main"])
history.model.metrics_names = mock.MagicMock(return_value=["loss", "mean_squared_error"]) history.model.metrics_names = mock.MagicMock(return_value=["loss", "mean_squared_error"])
init_without_run.create_monitoring_plots(history, learning_rate) init_without_run.create_monitoring_plots(history, learning_rate, epoch_best=1)
assert len(glob.glob(os.path.join(path, "plots", "TestExperiment_history_*.pdf"))) == 2 assert len(glob.glob(os.path.join(path, "plots", "TestExperiment_history_*.pdf"))) == 2
def test_resume_training1(self, path: str, model_path, batch_path, data_collection, statistics_per_var, def test_resume_training1(self, path: str, model_path, batch_path, data_collection, statistics_per_var,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment