#91 · Primary category: Computer Vision

lightly

computer-vision contrastive-learning contributions-welcome deep-learning embeddings hacktoberfest machine-learning pytorch self-supervised-learning

A python library for self-supervised learning on images.

Project last updated:08/28/26

GitHub Stars

3.8K

Forks

356

Contributors

93

License

MIT

Why we included this project

Image-heavy teams that can't afford to label everything will find Lightly useful: it lets you pre-train an encoder with no manual annotation and reuse it as a starting point for downstream tasks. The library implements several established self-supervised methods, including SimCLR, BYOL, SwAV, MoCo, SimSiam, and Barlow Twins, behind a modular PyTorch-style API. Because the pieces (loss functions, model heads) are reusable building blocks, experimenting with custom backbones is easier than fighting a monolithic pipeline. Ready-made PyTorch Lightning examples and distributed training support also shorten the trip from a research prototype to multi-GPU runs. If you've ever wished you could bootstrap a representation for your image data before paying for labeling, this is worth a look.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category