You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 Use of deprecated torchvision module - requires an update.
On my Python environment with Python version 3.11 and PyTorch version 2.0.0+cu117, I get warnings with the usage of AugMix. The root-cause is the use of deprecated torchvision module -> torchvision.transforms.functional_tensor.
This can be addressed very easily by making minor changes to pytorchvideo->transforms->augmentations.py file.
Please find attached snapshot of the "diff" between current and updated augmentations.py file.
It will help several furture users to fix this and update the library - both here and as PyPI package.
The text was updated successfully, but these errors were encountered:
The workaround of installing directly through git does not work anymore. Any usage of the library throws this error. Even the official video classification demo notebook by HuggingFace does not run.
sanchitv7
added a commit
to sanchitv7/pytorchvideo
that referenced
this issue
Aug 13, 2024
🐛 Use of deprecated torchvision module - requires an update.
On my Python environment with Python version 3.11 and PyTorch version 2.0.0+cu117, I get warnings with the usage of AugMix. The root-cause is the use of deprecated torchvision module -> torchvision.transforms.functional_tensor.
This can be addressed very easily by making minor changes to pytorchvideo->transforms->augmentations.py file.
Please find attached snapshot of the "diff" between current and updated augmentations.py file.
It will help several furture users to fix this and update the library - both here and as PyPI package.
The text was updated successfully, but these errors were encountered: