Update.
authorFrançois Fleuret <francois@fleuret.org>
Wed, 21 Aug 2024 20:23:46 +0000 (22:23 +0200)
committerFrançois Fleuret <francois@fleuret.org>
Wed, 21 Aug 2024 20:23:46 +0000 (22:23 +0200)
main.py

diff --git a/main.py b/main.py
index 65695af..410ce7d 100755 (executable)
--- 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: