lightly-ai / lightly

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

docs: update datasets tutorial #1569

Open SauravMaheshkar opened 5 days ago

SauravMaheshkar commented 5 days ago

This PR aims to update and refactor Tutorial 1 "Structure your Input"

codecov[bot] commented 5 days ago

Codecov Report

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

Project coverage is 81.81%. Comparing base (cbd5495) to head (1845b64).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1569 +/- ## ======================================= Coverage 81.81% 81.81% ======================================= Files 144 144 Lines 6120 6120 ======================================= Hits 5007 5007 Misses 1113 1113 ```

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

SauravMaheshkar commented 2 days ago

g scripts? They might be incompatible, as the Lightly SSL training scripts expect a (batch, targets, filenames) dataloader output, which is not provided by huggingface.

Yes, I've tried it out and it does work with Lightly Training Scripts. The Colab Notebook released with the recent vector index blogpost uses the food101 dataset from the Huggingface for training.