Skip to main content

Train models with self-supervised learning in a single command

Project description

LightlyTrain

Train models with self-supervised learning in a single command

Why LightlyTrain

LightlyTrain uses self-supervised learning (SSL) to train models on large datasets without the need for labels. It provides simple Python, Command Line, and Docker interfaces to train models with popular SSL methods such as SimCLR or DINO. The trained models are ideal starting points for fine-tuning on downstream tasks such as image classification, object detection, and segmentation or for generating image embeddings. Models trained with LightlyTrain result in improved performance, faster convergence, and better generalization compared to models trained without SSL. Image embeddings created with LightlyTrain capture more relevant information than their supervised counterparts and seamlessly extend to new classes due to the unsupervised nature of SSL.

Lightly is the expert in SSL for computer vision and developed LightlyTrain to simplify model training for any task and dataset.

Features

  • Train models on any image data without labels
  • Train models from popular libraries such as torchvision, TIMM, Ultralytics, and SuperGradients
  • Train custom models
  • No SSL expertise required
  • Automatic SSL method selection (soon!)
  • Python, Command Line, and Docker support
  • Multi-GPU and multi-node (soon!) support
  • Export models for fine-tuning or inference
  • Generate and export image embeddings
  • Monitor training progress with TensorBoard, Weights & Biases, Neptune, etc. (soon!)

License

LightlyTrain is available under an AGPL-3.0 and a commercial license. Please contact us at info@lightly.ai for more information.

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lightly_train-0.3.1.tar.gz (123.4 kB view details)

Uploaded Source

Built Distribution

lightly_train-0.3.1-py3-none-any.whl (110.3 kB view details)

Uploaded Python 3

File details

Details for the file lightly_train-0.3.1.tar.gz.

File metadata

  • Download URL: lightly_train-0.3.1.tar.gz
  • Upload date:
  • Size: 123.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for lightly_train-0.3.1.tar.gz
Algorithm Hash digest
SHA256 43b483e9ec41a7e42d5cf3815f549e37ecd0b1613bdc830e158f62623c452069
MD5 e8b86d921228b15cf864013f5afc47f6
BLAKE2b-256 1ff5f38281fcb362d166b2286274b5cb87196fb9eefdc591d056dc5594d87339

See more details on using hashes here.

File details

Details for the file lightly_train-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lightly_train-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6bef5f0332267140df9612971e2170dc5718f1be5d244dbf2cbdc89d8cd2d69c
MD5 7057fee79152f8918669df85284ad39a
BLAKE2b-256 4d8dbfed449b3959a99870b5452655d4cb640da188b86f18d29138c7d87dd035

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page