mbanani/lgssl

Requirements.txt has modules with missing versions

sidgairo18 opened this issue · 3 comments

Hi,
Firstly, congratulations on the good work, and making your project publicly available.

When setting up the project with the dependencies in the requirements.txt file, some modules do not have their versions mentioned, and the code does not seem to be forward compatible (with the latest versions). For instance pytorch-lightning, etc.

Would be great if you could also update that, since it took a lot of effort to finally get the current version up and running.

Many Thanks :)

P.S.: Maybe even a pip-freeze of your conda / virtualenv would be really helpful :D

Hi @sidgairo18,

Sorry you faced some issues with setting up the repo and I am glad you were able to get it working. Unfortunately, pytorch-lightning has been causing a lot of issues as it doesn't seem to maintain good compatibility. If you want to submit a PR updating the requirements to the version that worked for you, I will happily accept it. Thank you.

hi @mbanani,

Actually later on only the preprocessing code works (which I could send a pull request for). However, the training / eval still run into a lot of issues which are hair-pulling to fix :(

Like I had requested, would be great if you could please share the pip freeze requirements.txt file for your original environment (if possible). or any other working solution you could provide.

Will be very grateful for your help :)

Thanks,
Sid

Hi Sid! I did this work while I was a PhD student and I have already graduated. I will see if I still have access to the cluster and update this accordingly if I can. My guess is that the following 3 packages (pytorch-lightning, lightning-bolts, lightly would be the root of the problem, so for now, I would suggest finding the package version as of November 2022 which is when this work was submitted.

Also, looking at the requirements, I would think that the preprocessing stuff is mainly stable. I am curious, which packages you ran into issues with with preprocessing?