Advertisement
Guest User

dreambooth_run

a guest
Oct 11th, 2024
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. accelerate launch examples/dreambooth/train_dreambooth_lora_flux.py \
  2. --pretrained_model_name_or_path=black-forest-labs/FLUX.1-dev \
  3. --dataset_name="google/dreambooth" \
  4. --output_dir="./big" \
  5. --mixed_precision="no" \
  6. --instance_prompt="a photo of wac linear pendant, black and white, white background" \
  7. --caption_column="prompt" \
  8. --resolution=512 \
  9. --train_batch_size=1 \
  10. --gradient_accumulation_steps=2 \
  11. --learning_rate=5e-5 \
  12. --report_to="wandb" \
  13. --lr_scheduler="constant" \
  14. --lr_warmup_steps=0 \
  15. --max_train_steps=2000 \
  16. --repeats=2 \
  17. --validation_prompt="a photo of wac linear pendant, black and white, white background" \
  18. --validation_epochs=50 \
  19. --num_validation_images=1 \
  20. --rank=16 \
  21. --checkpointing_steps=200 \
  22. --seed="0" \
  23. --gradient_accumulation=2 \
  24. --gradient_checkpointing \
  25. --use_8bit_adam \
  26. --cache_latents
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement