Hi,
I am trying to create a smaller dataset from the EMNIST letters dataset by sampling x samples from each class of the dataset.
I’ve loaded the dataset using datasets.EMNIST(root='./emnist_data/', split = 'letters', train=True, transform=transform, download=True)
I have tried using the built in sampler but I am not sure how to pass the indices of each class for sampling.