Skip to content

Releases: lightly-ai/lightly

More Transforms, Typing and Docs Improvements

07 Nov 08:33
3b7357e
Compare
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
Compare
Choose a tag to compare

Models

enhanced library compatibility

20 Aug 10:04
8ddf0cd
Compare
Choose a tag to compare
  • Use TiCoTransform Everywhere
  • Refactor DINOLoss to not use center module
  • Add CenterCrop to val transform

Dependencies

  • Make library compatible with torch 1.10, torchvision 0.11, and pytorch lightning 1.6 (by using uv), thanks @guarin

Docs

Models

NumPy 2 support and new IBOTPatchLoss, KoLeoLoss

07 Aug 06:51
8fb8bfd
Compare
Choose a tag to compare
  • Added IBOTPatchLoss, KoLeoLoss and block masking, thanks @guarin
  • Allow learnable positional embeddings and boolean masking in masked vision transformer
  • Refactor IJEPA to use timm, thanks @radiradev

Dependencies

  • Allow NumPy 2, thanks @adamjstewart
  • Removed lightning-bolts dependency

Docs

  • Add finetuning tutorial, thanks @SauravMaheshkar
  • Fix MoCo link in DenseCL docs and further docs and tutorial improvements

Models

DenseCL, SSL model improvements

25 Jul 09:25
6e264d6
Compare
Choose a tag to compare
  • Adds the DenseCL: Dense Contrastive Learning for Self-Supervised Visual Pre-Training method. See the docs.
  • Add TiCoTransform, thanks @radiradev!
  • Improvements to the pre-commit hooks, thanks @SauravMaheshkar!
  • Fix memory bank issue when using gather_distributed=True and training on a single GPU
  • Fix student head update in DINO benchmark
  • Various improvements to MaskedVisionTransformer
  • Renaming of Lightly SSL to LightlySSL

Models

pydantic2 compatibility

11 Jul 09:41
d09a6b5
Compare
Choose a tag to compare
  • Lightly is now compatible with pydantic2
  • migrated to pyproject

Models

Numpy version compatibility

24 Jun 16:01
8346959
Compare
Choose a tag to compare

Two changes w.r.t numpy version 2:

  • Make lightly itself support numpy version 2: #1561
  • Disallow numpy 2.0 in the requirements, as torchvision is not yet compatible with numpy 2: #1562

For more context, see #1558

Models

v1.5.7

21 Jun 07:16
2b55b5d
Compare
Choose a tag to compare

Tiny improvements

  • Increase download timeout for json files (#1556)
  • Migrate coverage and mypy configuration to pyproject.toml #1549). Many thanks to @SauravMaheshkar for this improvement!

Models

v1.5.6

05 Jun 12:57
f9c4c69
Compare
Choose a tag to compare

Changes

  • Allow lightly-serve to run securely via https by passing ssl_cert and ssl_key

Models

Add unpatchify model utils operation

29 May 13:05
7500a0f
Compare
Choose a tag to compare

Changes

  • Add unpatchify model utils operation to reconstruct an image from its patches. See the PR for more information. Thanks to @randombenj for implementing this!
  • Fixes in CI regarding coverage.
  • Fixes in lightly-serve that the server was sometimes not shut down correctly.

Models