tteepe / GaitGraph2

Official code for "Towards a Deeper Understanding of Skeleton-based Gait Recognition" (CVPRW'22)
40 stars 11 forks source link

I have struggle with the requirements.txt. #18

Open ChangYuance opened 1 year ago

ChangYuance commented 1 year ago

I try the commands with pip install -r requirements. And I got so many mistakes, sush as "No module named 'pytorch_lightning.utilities.cli'". However, I do find the pytorch-lightning 2.0.2 pypi_0 pypi with "conda list". So could the author provide the exact version of the pytorch-lightning[extra], torchvision? I am new with the pytorch-lightning, the install commands is also greatly helpful for me!

ChangYuance commented 1 year ago

And the error is ModuleNotFoundError: No module named 'pytorch_lightning.utilities.cli' It seems the lightning is the former vision. Could anybody provide the availble vision of the Pytorch_lightning?

AhsanBilal7 commented 1 year ago

This has resolved my issue. Please load the lightninhCli and load as follow from pytorch_lightning.cli import LightningCLI from lightning_fabric.utilities.cloud_io import _load as pl_load