Evaluate test_stream after every training epoch #1111
Unanswered
SinHanYang
asked this question in
Q&A
Replies: 1 comment
-
Dear @SinHanYang, sorry for the late answer. The named parameter is now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I tried to evaluate the model on all experiences after every epoch.
I did experiment on
CIFAR10
dataset, and made scenario fromnc_benchmark
:Second, I set
eval_every=1
in the strategy:And I assigned eval stream in
strategy.train
function:However, the logger showed that it was still evaluating training stream because the confusion matrix was tested on 25000 examples. CIFAR10's training dataset has 50000 examples and testing dataset has 10000 examples.
My question is, how can I test a model for all experiences after every training epoch, and show accuracies for all experiences just like
cl_strategy.eval(scenario.test_stream)
does:Thanks.
Beta Was this translation helpful? Give feedback.
All reactions