XPixelGroup / BasicSR

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.

Home Page:https://basicsr.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

torchvision 0.17 issue

TornjV opened this issue · comments

just change the line 8 in file degradations.py
from from torchvision.transforms.functional_tensor import rgb_to_grayscale

to from torchvision.transforms.functional import rgb_to_grayscale

commented

how come this simple fix hasn't been implemented in the repo?