Skip to content

[train_dreambooth_lora_lumina2] Add LANCZOS as the default interpolation mode for image resizing #11491

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

Merged
merged 3 commits into from
May 5, 2025

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