-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
conda env settings issue #49
Comments
I did
and it works fine. |
|
This worked for me (although I needed to re-install pytorch with cuda too), but now txt2img.py gives me an Entry Point Not Found error for torchvision_C.pyd , as seen here: #72 (comment) |
This worked for me, but only after removing the conda environment, changes the yaml to pytorch-lightning==1.5, and creating the conda environment based on the new yaml. |
Created new conda env here with |
Thanks for great research, I found out conda env settings error while using scripts below.
Error Log
Problem was
pytorch-lightning==1.4.2
automatically importsfrom torchmetrics.utilities.data import get_num_classes as _get_num_classes
but that function was dropped by this PR.So yaml file should be changed by updating
pytorch & torchvision & pytorch-lightning
or add explicittorchmetric
versionI solved it by updating pytorch-lightning.
The text was updated successfully, but these errors were encountered: