-
Notifications
You must be signed in to change notification settings - Fork 994
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' #246
Comments
Go to file /usr/local/lib/python3.10/dist-packages/basicsr/data/degradations.py and change line number 8 to: from torchvision.transforms.functional import rgb_to_grayscale |
also use python version 3.10.12 for creating environment instead of 3.8. For me it worked. |
i fixed it |
|
can you tell me what exactly you did to fix this? |
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
The text was updated successfully, but these errors were encountered: