Closed aaronbriel closed 4 years ago
Allows one to pass a custom sampler to the training DataLoader. For example, one can now pass a WeightedRandomSampler to implement oversampling on underrepresented classes.
@kaushaltrivedi any way to merge this?
Merged. Sorry for the delay
Allows one to pass a custom sampler to the training DataLoader. For example, one can now pass a WeightedRandomSampler to implement oversampling on underrepresented classes.