torchsampler (pypi): A (PyTorch) imbalanced dataset sampler for oversampling low classesand undersampling high frequent ones.
Keywords: sampler|pytorch|dataloader