From 6f6d3a3c2dbe940dd72f7af5bafd13cc8efff228 Mon Sep 17 00:00:00 2001 From: Schneider Leo <leo.schneider@etu.ec-lyon.fr> Date: Wed, 2 Apr 2025 10:04:43 +0200 Subject: [PATCH] fix : path --- image_ref/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_ref/main.py b/image_ref/main.py index 160ff67c..82cd816a 100644 --- a/image_ref/main.py +++ b/image_ref/main.py @@ -103,7 +103,7 @@ def run_duo(args): val_acc.append(acc) if loss < best_loss : save_model(model,args.save_path) - loss = acc + best_loss = loss # plot and save training figs plt.clf() plt.subplot(2, 1, 1) -- GitLab