Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have struggle with the requirements.txt. #18

Open
ChangYuance opened this issue Jun 12, 2023 · 2 comments
Open

I have struggle with the requirements.txt. #18

ChangYuance opened this issue Jun 12, 2023 · 2 comments

Comments

@ChangYuance
Copy link

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
Copy link
Author

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
Copy link

AhsanBilal7 commented Jul 17, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants