You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Note, I have not modified any code in the train_text_to_image_lora_sdxl.py, and even if the sampling step and random seed are all the same for validation and test, the mentioned problem still exists.
Now I suspect that there may be an issue with the part that saves the lora parameters.
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
The text was updated successfully, but these errors were encountered: