Skip to content

How to generate a simple experience from one dataset ? #738

Answered by vlomonaco
AlbinSou asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately at the moment we do not offer any quick utility method that given a Pythorch Dataset produces an Avalanche Experience.

This is because a reference to the related benchmark is often needed to simplify the implementations of some plugins (such as the evaluation one) and provide maximum flexibility at prototype level even breaking some CL assumptions (i.e. having access to past and future experiences, meta-data about the benchmark, etc.

Decoupling benchmarks from experiences is something very interesting that may indeed increase the flexibility of avl (especially for "production" use-cases). For now a quick hack would be what you suggested, feel free to open a PR with a method …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlbinSou
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