[Training] Late-stage degradation of image-editing consistency during full training of Qwen-Image 2.1
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 12/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- machine-learning
Rechercherichtung
This is a training-behaviour question rather than a scoped code change: the reporter asks why later checkpoints degrade from 1e-6, 5e-7 and 1e-7 on 8 GPUs over ~10k images. Start by reading the repository's full-parameter training scripts and default training config for the Qwen-Image editing pipeline, then ask the reporter for loss curves and early-vs-late checkpoint comparisons before proposing scheduler, EMA or early-stopping changes. There is no failing test to run and no acceptance criterion yet, so the issue needs a maintainer's diagnosis first.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description
I am performing full-parameter training of Qwen-Image 2.1 for an image-editing task. The model produces relatively consistent results during the early and middle stages of training. However, after training continues for a longer period, the editing consistency starts to degrade.
The main symptoms are:
- Later checkpoints perform worse than earlier checkpoints.
- The model becomes less consistent with the input image.
- Important attributes and structures from the source image are not preserved reliably.
- The editing results become increasingly unstable during the later stages of training.
I have tested the following learning rates:
1e-65e-71e-7
However, the same late-stage degradation occurs with all three learning rates. Lowering the learning rate only changes the speed of degradation and does not resolve the issue.
Training Configuration
- Model: Qwen-Image 2.1
- Training method: Full-parameter training
- Task: Image editing
- Number of GPUs: 8
- Batch size: 8 images per training step
- Dataset size: Approximately 10,000 images
- Learning rates tested:
1e-6,5e-7, and1e-7 - Other training parameters: Default settings
Expected Behavior
The model should continue improving or remain stable as training progresses, especially in terms of image-editing consistency and preservation of important visual attributes from the input image.
Actual Behavior
After a certain point in training, the image-editing consistency degrades. Later checkpoints produce worse results than earlier checkpoints, even when using a very small learning rate such as 1e-7.
Questions
- Is this behavior expected during full-parameter training of Qwen-Image 2.1 for image-editing tasks?
- Could this issue be caused by overfitting or catastrophic forgetting?
- Is the training duration too long for a dataset of approximately 10,000 images?
- Are there recommended settings for preventing late-stage degradation, such as:
- A specific learning-rate scheduler
- Warmup or cooldown strategies
- Weight decay
- Gradient clipping
- EMA
- Early stopping based on validation results
- A recommended maximum number of training steps or epochs
- Are there recommended loss functions, data-preprocessing methods, or validation protocols for maintaining image-editing consistency during full-parameter training?
Additional Information
I can provide the following if needed:
- Training logs
- Loss curves
- Comparisons between early and late checkpoints
- Example input images, editing instructions, and generated results
- Full training configuration
- Validation results
- Vorherrschende Sprache
- Python
- Sterne
- 13.5k
- Forks
- 1.3k
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 46
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus modelscope/DiffSynth-Studio
-
Partial download surfaces as "Cannot detect the model type" rather than a download errorEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
modelscope/DiffSynth-Studio#1668 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bfloat16训练时段错误: 数组越界的一种方案Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
modelscope/DiffSynth-Studio#1499 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
modelscope/DiffSynth-Studio#1373 · 5 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
蒸馏后 Edit 能力下降Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 32/100
modelscope/DiffSynth-Studio#1881 ·
Maintainer antworten meist innerhalb von 1 Tag
-
TrajectoryImitationLoss: the regularization term (loss_2) has no gradient path to the studentEvtl. vergeben @shizuku-desir7e hat das heute übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
modelscope/DiffSynth-Studio#1875 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in modelscope/DiffSynth-Studio
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
AIR-Bench Foundation reads the first letter of the word after "answer" as the model's choiceEvtl. vergeben @beartester34 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
modelscope/evalscope#2330 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Distribution plot crashes when a numeric feature is constant in the train or test setEvtl. vergeben @adembilge hat das heute übernommen. Offenbug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
MAIF/shapash#847 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 10 Tagen
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 2 Tagen
-
namespace team:operations
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 60/100
EclipseFdn/open-vsx.org#16738 ·
Maintainer antworten meist innerhalb von 1 Tag