projects
/
picoclvr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[picoclvr.git]
/
tasks.py
diff --git
a/tasks.py
b/tasks.py
index
463d94c
..
04b8f84
100755
(executable)
--- a/
tasks.py
+++ b/
tasks.py
@@
-809,9
+809,8
@@
class Expr(Task):
nb_train_samples,
nb_variables=nb_variables,
length=sequence_length,
nb_train_samples,
nb_variables=nb_variables,
length=sequence_length,
- # length=2 * sequence_length,
- # randomize_length=True,
)
)
+
test_sequences = expr.generate_sequences(
nb_test_samples,
nb_variables=nb_variables,
test_sequences = expr.generate_sequences(
nb_test_samples,
nb_variables=nb_variables,
@@
-911,7
+910,7
@@
class Expr(Task):
test_nb_correct,
test_nb_delta,
test_nb_missed,
test_nb_correct,
test_nb_delta,
test_nb_missed,
- ) = compute_nb_correct(self.test_input[:1000])
+ ) = compute_nb_correct(self.test_input[:1000
0
])
logger(
f"accuracy_test {n_epoch} nb_total {test_nb_total} nb_correct {test_nb_correct} accuracy {(100.0*test_nb_correct)/test_nb_total:.02f}%"
logger(
f"accuracy_test {n_epoch} nb_total {test_nb_total} nb_correct {test_nb_correct} accuracy {(100.0*test_nb_correct)/test_nb_total:.02f}%"