From: François Fleuret Date: Wed, 21 Aug 2024 20:23:46 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=b23138259ed849e433a65d0d4ac11ca7857add12;p=culture.git Update. --- 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: