[Training] Late-stage degradation of image-editing consistency during full training of Qwen-Image 2.1

オープン
#1,857 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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-6
  • 5e-7
  • 1e-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, and 1e-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

  1. Is this behavior expected during full-parameter training of Qwen-Image 2.1 for image-editing tasks?
  2. Could this issue be caused by overfitting or catastrophic forgetting?
  3. Is the training duration too long for a dataset of approximately 10,000 images?
  4. 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
  5. 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
主要言語
Python
スター
13.5k
フォーク
1.3k
平均マージ
1日 13時間
マージ済み PR(30日)
46

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelscope/DiffSynth-Studio のほかの issue

modelscope/DiffSynth-Studio の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。