Skip to content

Flux2 Edit training#1301

Draft
dxqb wants to merge 2 commits intoNerogar:masterfrom
dxqb:edit
Draft

Flux2 Edit training#1301
dxqb wants to merge 2 commits intoNerogar:masterfrom
dxqb:edit

Conversation

@dxqb
Copy link
Collaborator

@dxqb dxqb commented Feb 9, 2026

Install:

git branch -D pr-1301
git fetch upstream pull/1301/head:pr-1301
git switch pr-1301
grafik

this PR uses the existing dataloader infrastructure for inpainting models in OneTrainer. because of that, there are a few limitations:

  • only 1 reference image
  • reference image filename is hardcoded to filename-condlabel.png when your training sample is filename.jpg. Note the png.
  • if enabled, there must be a reference image for all images
  • the reference image should have the same resolution as the training sample
  • edge case: don't use together with masked training when Unmasked Probability > 0

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