projects
/
culture.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9605e0
)
Update.
author
François Fleuret
<francois@fleuret.org>
Sun, 28 Jul 2024 15:19:48 +0000
(17:19 +0200)
committer
François Fleuret
<francois@fleuret.org>
Sun, 28 Jul 2024 15:19:48 +0000
(17:19 +0200)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index
8eeb8de
..
a165696
100755
(executable)
--- 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(