lightly-ai/lightly

A python library for self-supervised learning on images.

81
/ 100
Verified

Implements modular building blocks including loss functions and model heads that expose SSL architecture components for customization. Supports 15+ SSL methods (BYOL, SimCLR, DINO, DINOv2, Barlow Twins, and others) with PyTorch and PyTorch Lightning backends, enabling distributed training across multiple GPUs. Integrates tightly with PyTorch ecosystems and includes example notebooks for rapid prototyping and production deployment.

3,697 stars and 236,532 monthly downloads. Used by 4 other packages. Actively maintained with 4 commits in the last 30 days. Available on PyPI.

Maintenance 13 / 25
Adoption 24 / 25
Maturity 25 / 25
Community 19 / 25

How are scores calculated?

Stars

3,697

Forks

324

Language

Python

License

MIT

Last pushed

Mar 04, 2026

Monthly downloads

236,532

Commits (30d)

4

Dependencies

14

Reverse dependents

4

Get this data via API

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

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