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

Issue with updated torchvision library #269

Open
SlugButDumber opened this issue Feb 25, 2025 · 0 comments
Open

Issue with updated torchvision library #269

SlugButDumber opened this issue Feb 25, 2025 · 0 comments

Comments

@SlugButDumber
Copy link

If you do not know the root cause of the problem / bug, and wish someone to help you, please
post according to this template:

🐛 Bugs / Unexpected behaviors

/usr/local/lib/python3.10/dist-packages/pytorchvideo/transforms/augmentations.py in
7 import torch
8 import torchvision
----> 9 import torchvision.transforms.functional_tensor as F_t
10 from torchvision.transforms.functional import InterpolationMode
11

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

torchvision.transforms.functional_tensor package has been deprecated in the new torchvision version.

Instructions To Reproduce the Issue:

Please include the following (depending on what the issue is):

/usr/local/lib/python3.10/dist-packages/pytorchvideo/transforms/augmentations.py in
7 import torch
8 import torchvision
----> 9 import torchvision.transforms.functional_tensor as F_t
10 from torchvision.transforms.functional import InterpolationMode
11

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

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

1 participant