Skip to content

Releases: lightly-ai/lightly

Implement iBOT

22 Jul 14:39
24cc888

Choose a tag to compare

What's Changed

  • Speed up function _same_mask in DetConBLoss by 25% by @misrasaurabh1 in #1847
  • Fix DINOv2 Bugs
  • Add DINOv2 to Docs with Example
  • Fix: vicregl_loss tensor RuntimeError by @RDR2Blackwater in #1850
  • Add iBOTTransform
  • Add iBOT Implementation
  • Add iBOT to Docs with Example
  • Fix KNN dtype for ResNet benchmark
  • Fix CUDA Tests for Losses
  • Fix OnlineClassifier Issues
  • Support Tensor Input for GaussianBlur
  • Use ToTensor Helper Function by @ajtritt in #1862
  • Move Rotation After Flip for Transforms by @KylevdLangemheen in #1865
  • Improve pre-commit hooks for Dev Env
  • Add iBOT Benchmarks

New Contributors

Full Changelog: v1.15.21...v1.15.22

Many thanks to our contributors!

Models

Implement DINOv2

11 Jun 15:31
5188a51

Choose a tag to compare

What's Changed

  • Add DINOv2 ViT benchmark Implementation
  • Add Paper Joint-Embedding vs Reconstruction: Provable Benefits of Latent Space Prediction for Self-Supervised Learning, 2025 by Meta to "Lightly in Research". Thank them for the credit!
  • Add seed_everything for reproducibility in benchmarks by @yvesyue in #1819
  • Fix MyPy type-checking issues for newer versions of NumPy by @yvesyue in #1820
  • Fix DCLLoss negative-term aggregation and add loop-based reference test by @yvesyue in #1827
  • Fix bugs in KNN benchmark evaluation
  • Fix bugs in cosine scheduler warmup epochs
  • Fix MaskedCausalBlock.__init__() got an unexpected keyword argument 'proj_bias' due to interface change in the newer TIMM versions
  • Fix AddGridTransform due to interface change in the newer Torchvision versions
  • Fix format & format-check to only target python directories
  • Remove video download functions
  • Remove unused download functions & add typing

New Contributors

  • @yvesyue made their first contribution in #1819

Full Changelog: v1.5.20...v1.15.21

Many thanks to our contributors!

Models

New DINO ViT Benchmark and BTLoss

22 Apr 14:11
ff29668

Choose a tag to compare

Changes

  • Added DINO ViT Benchmark
  • Fixed BTLoss: ensure invariance to affine transformations by @adosar in #1806
  • Tested BTLoss: use default values for torch.allclose by @adosar in #1810
  • Added more detailed docstring to knn predict by @maxprogrammer007 in #1812
  • Removed verbose in CosineWarmUpScheduler
  • Add LightlyTrain Reference
  • Renamed lightly-train command to lightly-ssl-train

Many thanks to our contributors!

Models

New MACL loss and updated model docs

18 Feb 08:55
a38c167

Choose a tag to compare

Changes

  • Docs: Fix mismatch between forward method and docstring of NTXentLoss by @adosar in #1789
  • Update NNCLR model examples in docs
  • Updated the BYOL model examples in docs
  • Updated the DINO model examples in docs
  • Update the SimSiam model examples in docs
  • Additional tests added to pooling operation for DetCon
  • Fix issues with the Lightning Trainer's strategy in the MAE examples and support new Lightning versions in the benchmarks
  • Added loss function for MACL (Model-Aware Contrastive Learning)
  • Updated CONTRIBUTING Guide and GitHub Actions
  • Fix multiple issues with loss tests

Models

Update SimCLR and MAE model docs

28 Jan 13:39
a1d755d

Choose a tag to compare

Changes

  • Update SimCLR model model example
  • Update MAE model docs
  • adjust pagination to be defensive at 2500 entries
  • Fix typo: Dict() instead of dict() return class instanciation error by @gatienc in #1785

Many thanks to all of our contributors!

Models

Cleanup & DetCon loss fix

21 Jan 10:44
0fb484d

Choose a tag to compare

Changes

  • fix detcon loss distributed issue
  • remove heuristics in masked pooling
  • fix torchvision dependency test

Many thanks to all of our contributors!

Models

DetCon and typings

07 Jan 09:43
f6ad8c7

Choose a tag to compare

Changes

  • Added DetConSLoss and DetConBLoss
  • removed opencv dependencies partial thanks to @vectorvp
  • fix: IJEPA example by thanks to @vectorvp

Typing and Docs

Many thanks to all of our contributors!

Models

More and better Transforms

29 Nov 08:08
87dde05

Choose a tag to compare

Changes

New transforms

Switch to version-independent torchvision transforms.

  • If torchvision transforms v2 are available, they are used. Otherwise torchvision transforms v1 are used. For details see this comment.
  • Add Transform for DetCon + MultiViewTransformV2 for torchvision.transforms.v2 (#1737)

Typing, naming & docstring improvements

Other

  • Fix DINOProjectionHead BatchNorm Handling (#1729)
  • Add masked average pooling for pooling with segmentation masks (DetCon)(#1739)

Many thanks to all of our contributors!

Models

More Transforms, Typing and Docs Improvements

07 Nov 08:33
3b7357e

Choose a tag to compare

Changes

New transforms

Added and updated docstrings

Docs improvements

More and better typing

  • Testing typing for all python versions
  • Typing of serve.py @ishaanagw
  • Cleanup: _image.py and _utils.py file in data subpackage @ChiragAgg5k

Better formatting

Other

Many thanks to all of our contributors!

Models

Support python 3.12

24 Sep 08:48
c529521

Choose a tag to compare

Models