Skip to content
Snippets Groups Projects
Commit 90eb0b2e authored by leufen1's avatar leufen1
Browse files

plot works now, /close #278

parent 8105c732
No related branches found
No related tags found
4 merge requests!253include current develop,!252Resolve "release v1.3.0",!245update #275 branch,!243Resolve "BUG: mse monitoring plot not working with multiple branches"
Pipeline #60061 passed
......@@ -223,7 +223,7 @@ class Training(RunEnvironment):
if multiple_branches_used:
filename = os.path.join(path, f"{name}_history_main_loss.pdf")
PlotModelHistory(filename=filename, history=history, main_branch=True)
if "mean_squared_error" in history.model.metrics_names:
if len([e for e in history.model.metrics_names if "mean_squared_error" in e]) > 0:
filename = os.path.join(path, f"{name}_history_main_mse.pdf")
PlotModelHistory(filename=filename, history=history, plot_metric="mse", main_branch=multiple_branches_used)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment