From e08d6e734387e6a7016521d3379c945f5cf2ad87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sat, 6 Jul 2024 08:26:19 +0300 Subject: [PATCH] Update. --- quiz_machine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quiz_machine.py b/quiz_machine.py index d4af770..de1e8d1 100755 --- a/quiz_machine.py +++ b/quiz_machine.py @@ -359,11 +359,11 @@ class QuizMachine: backward_nb_total = correct[n_backward].size(0) self.logger( - f"{log_prefix}_forward_accuracy {n_epoch} {model.id=} {forward_nb_correct} / {forward_nb_total}" + f"{log_prefix}_forward_accuracy {n_epoch} model {model.id} nb_correct {forward_nb_correct} / {forward_nb_total}" ) self.logger( - f"{log_prefix}_backward_accuracy {n_epoch} {model.id=} {backward_nb_correct} / {backward_nb_total}" + f"{log_prefix}_backward_accuracy {n_epoch} model {model.id} nb_correct {backward_nb_correct} / {backward_nb_total}" ) return result, correct -- 2.39.5