clarification and fixes for flux2 and other i2i model validation setup #2433
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request enhances documentation and adds new model capability methods to support and clarify advanced validation workflows, especially for models that use conditioning inputs (such as reference images or control signals). The main improvements are the addition of two new validation options (
--validation_using_datasetsand--eval_dataset_id) across all supported languages, and new methods in the model helper to distinguish between required and optional conditioning support.Documentation improvements:
--validation_using_datasetsand--eval_dataset_idoptions in all documentation files (OPTIONS.md,.es.md,.pt-BR.md,.zh.md,.hi.md,.ja.md). These options allow validation using images from specific training datasets and enable advanced workflows for models supporting image-to-image or conditioning-based validation. [1] [2] [3] [4] [5] [6]Model capability methods:
requires_conditioning_dataset()andsupports_conditioning_dataset()methods tosimpletuner/helpers/models/common.py. These allow models to declare if conditioning datasets are mandatory or optional, enabling the WebUI and training pipeline to adapt UI and validation logic accordingly.