Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update degradations.py because of torchvision.transforms.functional_t…
…ensor deprecation in 2024 January Since 2024 January v0.17.0 of torchvision, the module torchvision.transforms.functional_tensor is removed and the module torchvision.transforms.functional is available. https://github.com/pytorch/vision/releases/tag/v0.17.0 The code is proposed by @Elawfant in this issue of BasicSR: XPixelGroup/BasicSR#677
- Loading branch information