huggingface / huggingface/diffusers
Text encoder errors in both SD3 dreambooth training scripts
- Langage dominant
- Python
- Étoiles
- 34.5k
- Forks
- 7.3k
- Merge moyen
- 3 j 3 h
- PR mergées (30 j)
- 91
Description
### 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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par train_dreambooth_sd3.py et train_dreambooth_lora_sd3.py, puis reproduisez le problème avec --train_text_encoder et les autres arguments requis. Suivez l’appel à encode_prompt et l’affectation de text_encoder_one associées aux erreurs signalées. Le travail est terminé lorsque les deux scripts d’entraînement SD3 s’exécutent au-delà de ces erreurs avec train_text_encoder activé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, pytorch
- Domaine
- machine-learning
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100