Skip to content

Problem with Benchmark Creation after Upgrade to 0.3.1 #1264

Answered by AntonioCarta
jannishag asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jannishag, can you give more details on your data? Without knowing your dataset we can't say anything about the error.

From the API Docs I read that the attribute 'targets' was removed from AvalancheDatasets in the new release. Thus, I guess the utils.py has to be updated, right?

We didn't remove the attribute, we made it optional. You can use avalanche.benchmarks.utils.make_classification_dataset to easily instantiate datasets with class and task labels. This is equivalent to the old AvalancheDataset, while the new AvalancheDataset is a generic object which doesn't necessarily have targets.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jannishag
Comment options

Answer selected by jannishag
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