huggingface / huggingface/diffusers

Text encoder errors in both SD3 dreambooth training scripts

Aperta
#8,726 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug stale
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, pytorch
Ambito
machine-learning
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.