Hey,
I’ve been using WeightedRandomSampler but due to the stochastic nature of the process a mini-batch can oftentimes contain the same instance twice. Is there a way to guarantee that all instances are unique within a mini-batch while maintaining the other properties of the sampler? Note that since I am trying to oversample one of the two classes, I am using sampling with replacement. Thank you!
Neo