Skip to content

Testing on test sets up to current tasks #685

Answered by AndreaCossu
cuongpxu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @cuongpxu , in Avalanche you are not forced to test on all tasks.

You can call strategy.eval(benchmark.test_stream[index]), where index selects the test experiences you want to evaluate on. It works like usual list indexing in Python. If you don't use index, you will select all the test experiences but that is not mandatory.
Testing on future experiences it is useful sometimes to evaluate performance on unseen tasks (like in Forward transfer, yet to be implemented in avalanche)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vlomonaco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #684 on June 25, 2021 06:49.