Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support align_corners=True in image_transforms module #30525

Open
NielsRogge opened this issue Apr 28, 2024 · 0 comments
Open

Support align_corners=True in image_transforms module #30525

NielsRogge opened this issue Apr 28, 2024 · 0 comments
Labels
Feature request Request for a new feature Vision

Comments

@NielsRogge
Copy link
Contributor

Feature request

For a new model I'm working on #30136 I'd need to resize images in the image processor using align_corners=True, as the original code uses torch.nn.functional(..., align_corners=True) for resizing images during pre-processing.

Motivation

Would be great to have this option available so that we can remove the torch dependency from the image processor

Your contribution

Not sure I can look into this, but @molbap showed interest in looking into this

@NielsRogge NielsRogge mentioned this issue Apr 28, 2024
7 tasks
@NielsRogge NielsRogge added the Feature request Request for a new feature label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Request for a new feature Vision
Projects
None yet
Development

No branches or pull requests

2 participants