vandit15/Class-balanced-loss-pytorch
Pytorch implementation of the paper "Class-Balanced Loss Based on Effective Number of Samples"
This helps deep learning engineers train image classification models more effectively when some categories have far fewer examples than others. It takes your model's predictions and the true labels, then applies a specialized loss function during training. This results in a more balanced model that performs better across all classes, especially the rare ones. It's for machine learning practitioners building and training computer vision models.
806 stars. No commits in the last 6 months.
Use this if you are training deep learning models on image datasets where the number of images varies greatly between different classes (e.g., many pictures of cats, few of lynx).
Not ideal if your dataset has an equal or near-equal number of samples for all classes, or if you are not working with deep learning image classification.
Stars
806
Forks
123
Language
Python
License
MIT
Category
Last pushed
Feb 18, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/vandit15/Class-balanced-loss-pytorch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
HelmchenLabSoftware/Cascade
Calibrated inference of spiking from calcium ΔF/F data using deep networks
adobe/antialiased-cnns
pip install antialiased-cnns to improve stability and accuracy
KaiyangZhou/pytorch-center-loss
Pytorch implementation of Center Loss
kimhc6028/relational-networks
Pytorch implementation of "A simple neural network module for relational reasoning" (Relational Networks)
devsisters/pointer-network-tensorflow
TensorFlow implementation of "Pointer Networks"