Skip to content

SDXL Lora training: testing results are different from validation results #6284

Description

@yanjk3

I am trying to train an SDXL Lora to generate ’Kuromi‘ by using the train_text_to_image_lora_sdxl.py. The training is done and the validation results are as I expected.
However, the testing results are weird and different from the validation results.

Here is my training script:
accelerate launch train_text_to_image_lora_sdxl.py --pretrained_model_name_or_path='/my_local_path/stable-diffusion-xl-base-1.0' --pretrained_vae_model_name_or_path='/my_local_path/models--madebyollin--sdxl-vae-fp16-fix' --train_data_dir='./kuromi_data' --validation_prompt='A Kuromi wearing a purple top hat, holding a magic wand, unfolds her wings, grins mischievously, surrounded by skeletons, with a cute anime style, ultra-high quality, close-up.' --output_dir='./training_results/kuromi/' --num_train_epochs=150 --train_batch_size=4 --gradient_accumulation_steps=4 --mixed_precision='fp16' --checkpointing_steps=1

1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions