vturrisi / solo-learn

solo-learn: a library of self-supervised methods for visual representation learning powered by Pytorch Lightning
MIT License
1.39k stars 181 forks source link

Outdated overview tutorial #326

Open leon-costa opened 1 year ago

leon-costa commented 1 year ago

Describe the bug The Overview tutorial doesn't work with the current code.

To Reproduce Follow the steps of the tutorial.

Screenshots

Traceback (most recent call last):
  File "/home/leon/projects/solo-learn/tutorial-unfixed.py", line 13, in <module>
    from solo.utils.classification_dataloader import prepare_data as prepare_data_classification
ModuleNotFoundError: No module named 'solo.utils.classification_dataloader'

Versions The main branch of solo-learn.

Additional comments I started to fix this in https://github.com/leon-costa/solo-learn/commit/5f3ff8ff8c8eb5c3d3d84b24066876b103f8663c but I didn't go further than fixing the imports. The rest of the code probably needs to be updated as well.