Installation
===================================
Supported Python versions
-------------------------
Lightly SSL requires Python 3.7+. We recommend installing Lightly SSL in a Linux or OSX environment.
.. _rst-installing:
Installing Lightly SSL
----------------------
You can install Lightly SSL and its dependencies from PyPi with:
.. code-block:: bash
pip install lightly
We strongly recommend that you install Lightly SSL in a dedicated virtualenv, to avoid conflicting with your system packages.
Dependencies
------------
Lightly SSL 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 `_.
.. code-block:: bash
pip install av
If you want to work use the Masked Autoencoder you need to additionally install
`TIMM `_.
.. code-block:: bash
pip install "timm>=0.9.9"
Next Steps
------------
Start with one of our tutorials: :ref:`input-structure-label`