lightly-ai / lightly

A python library for self-supervised learning on images.
https://docs.lightly.ai/self-supervised-learning/
MIT License
3.09k stars 264 forks source link

Update install dependencies #1476

Closed IgorSusmelj closed 8 months ago

IgorSusmelj commented 8 months ago

Changes

This allows to install the lightly package with minimal dependencies (no PyTorch and torchvision)

New minimal dependencies (to run all the unittests) are the following:

pytorch_lightning==1.7.1
torch==1.11.0
torchvision==0.12.0
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2b215aa) 85.50% compared to head (3d173f6) 85.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1476 +/- ## ======================================= Coverage 85.50% 85.50% ======================================= Files 135 135 Lines 5657 5657 ======================================= Hits 4837 4837 Misses 820 820 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.