Open ilTofa opened 2 years ago
+1
I got this while trying to create a requirements.txt for pip. Was trying to get all deps in one place, apparently this error won't go away.
I have the same problem. Does anybody found a solution for that? thanks I found the solution: pip install pytorch-lightning==1.6.1 here works for me
I have the same problem. Does anybody found a solution for that? thanks I found the solution: pip install pytorch-lightning==1.6.1 here works for me
Worked for me. thought, I had to reinstall pytorch 1.11 with conda
This worked for me too, but I also needed to re-install pytorch:
pip uninstall torch pip cache purge pip install torch -f https://download.pytorch.org/whl/torch_stable.html
Now it works, but initially after running txt2img.py it gives me an Entry Point Not Found error for torchvision_C.pyd , as in this image
(or: https://i.imgur.com/PbKSZc1.png)
I can just hit OK in the error window and it produces the images, but I wish I knew why it was popping up that error.
Edit: Works fine in powershell, error happens with cmd.exe only
downgrading torchmetrics to v0.6.0 also works
downgrading torchmetrics to v0.6.0 also works
works!
Workarounds above work. I'm unsure if the ticket in itself can be closed or not
After installation, running the example command
python scripts/txt2img.py --prompt "A prompt" --ddim_eta 0.0 --n_samples 4 --n_iter 4 --scale 5.0 --ddim_steps 50
Fails withcannot import name 'get_num_classes' from 'torchmetrics.utilities.data'
I was not able to find anything useful to solving this problem (it seems probably related to torchmetrics library changes). Is this a know problem?