Skip to content

Lanczos interpolation support in resize #9166

@MHRDYN7

Description

@MHRDYN7

🚀 The feature

Are there any plans to support the lanczos interpolation method for resize? @NicolasHug
I might be open to implement it (depends on the complexity).

Motivation, pitch

Seems important enough to include it in torchvision. I've been trying to port some code to torchvision from PIL and Mediapy and this missing interpolation method stands as an obstacle. Also, seems like that some models requiring this interpolation method in hf transformers are having to change to other methods for preprocessing.

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions