From: François Fleuret Date: Sun, 28 Jul 2024 15:19:48 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=3c650e10f3bd7db9b4b8c74c24e900723ad9fd96;p=culture.git Update. --- diff --git a/main.py b/main.py index 8eeb8de..a165696 100755 --- a/main.py +++ b/main.py @@ -649,7 +649,7 @@ def record_new_c_quizzes(models, quiz_machine, nb_for_train=1000, nb_for_test=10 comments = [] for l in seq_logproba: - comments.append(+"proba " + " ".join([f"{x.exp().item():.02f}" for x in l])) + comments.append("proba " + " ".join([f"{x.exp().item():.02f}" for x in l])) filename = f"culture_c_quiz_{n_epoch:04d}.png" quiz_machine.problem.save_quizzes_as_image(