From b23138259ed849e433a65d0d4ac11ca7857add12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Wed, 21 Aug 2024 22:23:46 +0200 Subject: [PATCH] Update. --- main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.py b/main.py index 65695af..410ce7d 100755 --- a/main.py +++ b/main.py @@ -1101,6 +1101,12 @@ for n_epoch in range(current_epoch, args.nb_epochs): sum([x.size(0) for x in model.train_c_quiz_bags]) for model in models ] + p = tuple( + f"{(x*100)/args.nb_train_samples:.02f}%" for x in nb_c_quizzes_per_model + ) + + log_string(f"nb_c_quizzes_per_model {p}") + m = max(nb_c_quizzes_per_model) if m >= args.nb_train_samples: -- 2.39.5