From 253d7daf2511f00d44263bc870ad543b2d5fc1f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Fri, 16 Aug 2024 20:47:14 +0200 Subject: [PATCH] Update. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 3021ff8..915e10e 100755 --- a/main.py +++ b/main.py @@ -1152,7 +1152,7 @@ for n_epoch in range(current_epoch, args.nb_epochs): # re-compute the test errors for model in models: - if model.test_accuracy > model.best_test_accuracy: + if model.test_accuracy >= args.accuracy_to_make_c_quizzes: log_string( f"storing_best model {model.id} accuracy {model.best_test_accuracy} -> {model.test_accuracy}" ) -- 2.39.5