From: François Fleuret Date: Thu, 4 Jul 2024 11:58:13 +0000 (+0300) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=c941547de1fdbf5c6072a6b2b9831e4e7eb4df76;p=culture.git Update. --- diff --git a/quizz_machine.py b/quizz_machine.py index c5da586..65b6000 100755 --- a/quizz_machine.py +++ b/quizz_machine.py @@ -368,8 +368,6 @@ class QuizzMachine: nb_total = input.size(0) nb_correct = (input == result).long().min(dim=1).values.sum() - exit(0) - return nb_total, nb_correct train_nb_total, train_nb_correct = compute_accuracy(self.train_w_quizzes[:nmax])