-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
functional_tensor not found #533
Comments
I am also encountering this after upgrading to PyTorch 2.x. Based on checking a few venvs, it looks like |
Works for me but i get:
|
I'm also having this warning. As I searched in the repo, Environment: |
Looks like this package is not updated anymore, to patch the issue in your python program you may add those lines
which will redirect |
Yea, using torchvision.transforms.functional instread of torchvision.transforms.functional_tensor is recommended for the latest torchvision |
Why do users have to patch those every time? |
This is not a solution when BasicSR is used as a dependency in a library. Nor can I patch a file as part of an automated test suite. |
It has been deprecated for some time now, and was eventually removed. |
when I run training code, it reports ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
my environment:
Mac M1 chip
python 3.9
torch 1.10.2
torchvision 0.2.2
Should torchvision.transforms.functional_tensor be torchvision.transforms.functional ?
Need help
The text was updated successfully, but these errors were encountered: