huggingface / huggingface/diffusers
[Advanced Dreambooth] Textual Inversion token is weakened/ignored by negative prompt
- 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
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par les étapes de reproduction décrites dans l’issue et l’investigation liée dans l’issue 6685, en comparant la validation avec et sans le prompt négatif. Le travail est terminé lorsqu’un LoRA associé à un token de Textual Inversion conserve les caractéristiques du sujet entraîné lorsqu’un prompt négatif est utilisé.
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é
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100