what should be set as num_samples in the WeightedRandomSampler.?
Say that I have a 10 classes and I’ve initialized the weights as the inverse of the count of each class.
I know that I can’t set it as batch_size.