-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor' #224
Comments
I encountered the same problem as you, have you solved it? |
I have the same problem |
Go to file from torchvision.transforms.functional import rgb_to_grayscale Got the solution from AUTOMATIC1111/stable-diffusion-webui#13985 |
Try to uninstall and then install the latest version of torchvision. (0.17.1) |
which version of torch, torchvision, torchaudio is recommended and run success on Mac M1 ? |
❯ pip list | grep torch |
pip install torch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 ❯ python inference.py --face examples/face/1.mp4 --audio examples/audio/1.wav --outfile results/1_1.mp4 |
This is an bug for package |
wow, that was super sketchy... but changing the 2D thing in both files + changing how the degradation file imports tourchvision (torchvision.transforms.functional import rgb_to_grayscale) + changing the requirements.txt |
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
The text was updated successfully, but these errors were encountered: