# ufoym/imbalanced-dataset-sampler

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/ufoym-imbalanced-dataset-sampler).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

2,321 stars · 267 forks · Python · MIT

## Links

- GitHub: https://github.com/ufoym/imbalanced-dataset-sampler
- awesome-repositories: https://awesome-repositories.com/repository/ufoym-imbalanced-dataset-sampler.md

## Topics

`data-sampling` `image-classification` `imbalanced-data` `pytorch`

## Description

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

## Tags

### Part of an Awesome List

- [Long-Tailed / Out-of-Distribution Recognition](https://awesome-repositories.com/f/awesome-lists/more/long-tailed-out-of-distribution-recognition.md) — Listed in the “Long-Tailed / Out-of-Distribution Recognition” section of the The Incredible Pytorch awesome list.
