Skip to content

Conversation

@HaiderSultanArc
Copy link

No description provided.

@IlyesBenAmara
Copy link

Please approve this PR

@tomy128
Copy link

tomy128 commented Mar 31, 2024

I think this should be :

try:
    from torchvision.transforms.functional_tensor import rgb_to_grayscale
except ModuleNotFoundError:
    from torchvision.transforms.functional import rgb_to_grayscale

to make it more compatible with older torchvision before we confirm to drop the older supports❓

@inonoo123
Copy link

Will this PR be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants