From: François Fleuret Date: Thu, 4 Jul 2024 11:30:50 +0000 (+0300) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=4824852948cf7aa3961ada15bac7ab9a2c49be9c;p=culture.git Update. --- diff --git a/quizz_machine.py b/quizz_machine.py index ee7af90..f00bf9e 100755 --- a/quizz_machine.py +++ b/quizz_machine.py @@ -327,21 +327,6 @@ class QuizzMachine: device=self.device, ) - #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - self.save_quizzes( - result_dir, - f"DEBUG_input_{n_epoch}_{result.size(0):04d}", - quizzes=input[:72], - prediction=True, - ) - self.save_quizzes( - result_dir, - f"DEBUG_result_{n_epoch}_{result.size(0):04d}", - quizzes=result[:72], - prediction=True, - ) - #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - if self.back_accuracy: n_forward = input[:, 0] == self.token_forward nb_total = input[n_forward].size(0)