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

ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor' #876

Open
Yousaf5842 opened this issue Dec 4, 2024 · 7 comments

Comments

@Yousaf5842
Copy link

kindly anyone help me

@VikramxD
Copy link

VikramxD commented Dec 4, 2024

use pip install torchvision==0.16.0

@Yousaf5842
Copy link
Author

Yousaf5842 commented Dec 4, 2024 via email

@VikramxD
Copy link

VikramxD commented Dec 4, 2024

sure ,what is the issue that you are having

@Yousaf5842
Copy link
Author

Yousaf5842 commented Dec 4, 2024 via email

@Yousaf5842
Copy link
Author

Yousaf5842 commented Dec 4, 2024 via email

@Junkai-Noel
Copy link

enter your environment:\envs\xxx\lib\site-packages\basicsr\data\degradations.py
change "torchvision.transforms.functional_tensor" to "torchvision.transforms._functional_tensor"

@ardaeerol
Copy link

just replace torchvision with torchvision==0.16.0 in requirements.txt

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

4 participants