Testing on test sets up to current tasks #685
-
Hi, Is there any way to test on all task tests set up to the current task only? Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @cuongpxu , in Avalanche you are not forced to test on all tasks. You can call |
Beta Was this translation helpful? Give feedback.
Hi @cuongpxu , in Avalanche you are not forced to test on all tasks.
You can call
strategy.eval(benchmark.test_stream[index])
, whereindex
selects the test experiences you want to evaluate on. It works like usual list indexing in Python. If you don't useindex
, 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)