Skip to content

Commit

Permalink
change functional_tensor to functional (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
TornjV authored May 17, 2024
1 parent 033cd68 commit 8d56e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basicsr/data/degradations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 --------------------------- #
Expand Down

0 comments on commit 8d56e3a

Please sign in to comment.