torchsampler

A (PyTorch) imbalanced dataset sampler for oversampling low classesand undersampling high frequent ones.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install torchsampler

Dependencies

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.1.2 2022-05-23  
0.1.1 2022-05-18  

Issues with this package?

Page last updated 2026-05-13 02:39:48 UTC