Skip to content

Releases: lightly-ai/lightly

More and better Transforms

29 Nov 08:08
87dde05
Compare
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
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