sthalles/SimCLR

PyTorch implementation of SimCLR: A Simple Framework for Contrastive Learning of Visual Representations

51
/ 100
Established

Implements contrastive learning through momentum-based batch augmentation and a non-learnable memory bank, training ResNet encoders with NT-Xent loss across large minibatches to learn view-invariant representations. Supports mixed-precision training via PyTorch's native AMP, multi-GPU distributed training, and evaluation through linear probing on frozen features. Includes reference implementations for STL10 and CIFAR10 datasets with configurable projection head dimensionality and training hyperparameters.

2,480 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

2,480

Forks

492

Language

Jupyter Notebook

License

MIT

Last pushed

Mar 04, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/sthalles/SimCLR"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.