huggingface / huggingface/diffusers

Text encoder errors in both SD3 dreambooth training scripts

Offen
#8,726 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug stale
Vorherrschende Sprache
Python
Sterne
34.5k
Forks
7.3k
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
91

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.