Skip to content

Conversation

@cjfghk5697
Copy link
Contributor

What does this PR do?

Fixes #11390

Before submitting

This PR sets LANCZOS as the default interpolation method for image resizing during training, improving visual quality and preserving fine details in training inputs.
Users can still override it with --image_interpolation_mode bilinear for faster processing if needed.

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@asomoza
Copy link
Member

asomoza commented May 5, 2025

thanks!

@asomoza asomoza merged commit ee1516e into huggingface:main May 5, 2025
9 checks passed
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.

Better image interpolation in training scripts follow up

3 participants