huggingface / huggingface/diffusers
[Advanced Dreambooth] Textual Inversion token is weakened/ignored by negative prompt
- Lenguaje dominante
- Python
- Estrellas
- 34.5k
- Forks
- 7.3k
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 91
Descripción
### 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
Guía de contribución
Línea de trabajo
Comienza con los pasos de reproducción del issue y la investigación enlazada en el issue 6685, comparando la validación con y sin el prompt negativo. Se considera completado cuando un LoRA junto con un token de Textual Inversion conserva las características del sujeto entrenado al usar un prompt negativo.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python, pytorch
- Área
- machine-learning
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100