projects
/
culture.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b7b82
)
Update.
author
François Fleuret
<francois@fleuret.org>
Thu, 4 Jul 2024 11:58:13 +0000
(14:58 +0300)
committer
François Fleuret
<francois@fleuret.org>
Thu, 4 Jul 2024 11:58:13 +0000
(14:58 +0300)
quizz_machine.py
patch
|
blob
|
history
diff --git
a/quizz_machine.py
b/quizz_machine.py
index
c5da586
..
65b6000
100755
(executable)
--- 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])