diff --git a/basicsr/data/degradations.py b/basicsr/data/degradations.py index 4fa20d4a0..14319605d 100644 --- a/basicsr/data/degradations.py +++ b/basicsr/data/degradations.py @@ -5,7 +5,7 @@ import torch from scipy import special from scipy.stats import multivariate_normal -from torchvision.transforms.functional_tensor import rgb_to_grayscale +from torchvision.transforms.functional import rgb_to_grayscale # -------------------------------------------------------------------- # # --------------------------- blur kernels --------------------------- # diff --git a/r-bot.drawio b/r-bot.drawio new file mode 100644 index 000000000..311352c48 --- /dev/null +++ b/r-bot.drawio @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +