Skip to content

part of/ fraction of dataset/benchmark #1546

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

You must be logged in to vote

The subset method of the AvalancheDataset allows you to specify the sequence of index you want to consider. So you can look at their labels and randomly select 20% for each class. Once you have the list of indices you can call the subset method and use the resulting dataset, no?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Bard2803
Comment options

@vlomonaco
Comment options

Answer selected by Bard2803
@Bard2803
Comment options

@BenCrulis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants