Getting Started

Supported Python versions

Lightly requires Python 3.6+. We recommend installing Lighlty in a Linux or OSX environment.

Installing Lightly

You can install Lightly and its dependencies from PyPi with:

pip install lightly

We strongly recommend that you install Lightly in a dedicated virtualenv, to avoid conflicting with your system packages.

Dependencies

Lightly currently uses PyTorch as the underlying deep learning framework. On top of PyTorch we use Hydra for managing configurations and PyTorch Lightning for training models.

If you want to work with video files you need to additionally install PyAV.

pip install av

Next Steps

Check out our tutorial: Python Package