Skip to content

[Advanced Dreambooth] Textual Inversion token is weakened/ignored by negative prompt #6703

Open
@levi

Description

@levi

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: #6685 (comment)

System Info

Main branch of diffusers

Who can help?

@linoytsaban

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues that haven't received updatestraining

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions