Skip to content

Conversation

@tcaimm
Copy link

@tcaimm tcaimm commented Dec 2, 2025

What does this PR do?

The incorrect training logic of Dreambooth Flux2 img2img has been modified, and the issue of abnormal loss during training has been fixed.

The Dreambooth flux2 img2img program experienced an abnormal loss during training. After investigation, it was found that the problem stemmed from incorrect slice information in model_pred and model_input_ids. The aforementioned logic was then fixed.

Before submitting

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.

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.

1 participant