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

2 comments on commit 8d56e3a

@14790897
Copy link

@14790897 14790897 commented on 8d56e3a Jan 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没有成功发布pypi啊

@14790897
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I released a fixed version to address this issue. Use pip install basicsr-fixed instead of pip install basicsr.

Please sign in to comment.