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 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-09-03 04:19:26 UTC