Skip to content

Commit 8d56e3a

Browse files
authored
change functional_tensor to functional (#650)
1 parent 033cd68 commit 8d56e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basicsr/data/degradations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import torch
66
from scipy import special
77
from scipy.stats import multivariate_normal
8-
from torchvision.transforms.functional_tensor import rgb_to_grayscale
8+
from torchvision.transforms.functional import rgb_to_grayscale
99

1010
# -------------------------------------------------------------------- #
1111
# --------------------------- blur kernels --------------------------- #

0 commit comments

Comments
 (0)