facebookresearch / pytorchvideo

A deep learning library for video understanding research.

Home Page:https://pytorchvideo.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be **removed in 0.17**.

jnj256 opened this issue Β· comments

πŸ› 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.

pytorchvideo_diff_augmentation_py