We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 033cd68 commit 8d56e3aCopy full SHA for 8d56e3a
basicsr/data/degradations.py
@@ -5,7 +5,7 @@
5
import torch
6
from scipy import special
7
from scipy.stats import multivariate_normal
8
-from torchvision.transforms.functional_tensor import rgb_to_grayscale
+from torchvision.transforms.functional import rgb_to_grayscale
9
10
# -------------------------------------------------------------------- #
11
# --------------------------- blur kernels --------------------------- #
0 commit comments