huggingface / huggingface/diffusers
[Advanced Dreambooth] Textual Inversion token is weakened/ignored by negative prompt
- 主要言語
- Python
- スター
- 34.5k
- フォーク
- 7.3k
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 91
説明
### Describe the bug
A LoRA + TI token pair trained with the advanced dreambooth script doesn't work with negative prompts.
In my testing, the validations all work perfectly if a negative prompt is not used. When it is included, the subjected trained with the token is often entirely ignored or looks nothing like the original subject.
### Reproduction
1. Train a LoRA + TI with the advanced dreambooth script using an instance prompt like "A photo of TOK".
2. Perform validation prompt like "A photo of TOK" to see valid training results
3. Perform same validation, but with an additional negative prompt like "distorted, disfigured, blurry"
4. Notice the TOK subject is often ignored and when not ignored, retains less characteristics of the original subject
### Logs
Continuing my investigation here: https://github.com/huggingface/diffusers/issues/6685#issuecomment-1908679012
### System Info
Main branch of diffusers
### Who can help?
@linoytsaban
コントリビューションガイド
調査の方向性
issue の再現手順と issue 6685 にリンクされた調査から始め、negative prompt の有無で検証を比較します。negative prompt を使用した場合でも、LoRA と Textual Inversion トークンによって学習した対象の特徴が保持されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, pytorch
- 領域
- machine-learning
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100