huggingface / huggingface/diffusers

Text encoder errors in both SD3 dreambooth training scripts

オープン
#8,726 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug stale
主要言語
Python
スター
34.5k
フォーク
7.3k
平均マージ
3日 3時間
マージ済み PR(30日)
91

説明

### Describe the bug

Multiple mismatched argument errors in train_dreambooth_sd3.py when training with train_text_encoder set to True.
Ordering/assignment errors in train_dreambooth_lora_sd3.py when training with train_text_encoder set to True.

### Reproduction

set --train_text_encoder and all other necessary args appropriately

### Logs

For train_dreambooth_sd3.py:
```encode_prompt got unexpected argument text_input_ids```

For train_dreambooth_lora_sd3.py
```UnboundLocalError: local variable 'text_encoder_one' referenced before assignment```

_No response_

### System Info

diffusers from source (bleeding edge)

### Who can help?

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with train_dreambooth_sd3.py and train_dreambooth_lora_sd3.py, then reproduce with --train_text_encoder and the other required arguments. Trace the encode_prompt call and the text_encoder_one assignment associated with the reported errors. Done means both SD3 training scripts run past these failures when train_text_encoder is enabled.

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

評価

技術スタック
python, pytorch
領域
machine-learning
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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