Skip to content

add text-encoder part in train_text_to_image_lora.py #3418

@MikeHanKK

Description

@MikeHanKK

Is your feature request related to a problem? Please describe.
The train_text_to_image_lora.py example is still using the old lora training format that only includes the UNET part.

Describe the solution you'd like
It would be nice to add the text-encoder part of training and to be inferenced with the load_lora_weights method.

Describe alternatives you've considered
It seems the train_dreambooth_lora.py example has already integrated the text-encoder part and has started the new lora format. But somehow the lora models I trained with the diffusers dreambooth example are not very good. It looks like text-to-images training often yields better results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions