Hi everyone 
I have a question on how exactly torch.utils.data.Subset() works. From my understanding, it will return a subset of the data that consists of the same number of classes but only a subset of datapoints for each class. For example, data = torch.utils.data.Subset(trainset, range(0, len(trainset), 2)) would give me half of the entire data with half of the datapoints for each class, right?
If so, is there an easy way to use a subset of the classes as well? In other words, a way to only take half of the classes of a dataset and maybe only half of the datapoints of each of those classes?
Any help is very much appreciated!
All the best,
snowe