forked from kohya-ss/sd-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
train7.bat
1 lines (1 loc) · 1.21 KB
/
train7.bat
1
accelerate launch --num_cpu_threads_per_process=6 "./train_network.py" --enable_bucket --min_bucket_reso=256 --max_bucket_reso=2048 --pretrained_model_name_or_path="D:/SD/stable-diffusion-webui/models/Stable-diffusion/ACertainty baked2.safetensors" --dataset_config "F:/naruto10/image/2_uchiha sarada/sarada.toml" --output_dir="D:/SD/stable-diffusion-webui/models/LyCORIS/sarada" --logging_dir="D:/SD/stable-diffusion-webui/models/LyCORIS/sarada" --network_module=lycoris.kohya --network_args "preset=D:/SDXL/lohft.toml" --save_model_as=safetensors --text_encoder_lr=0.00015 --unet_lr=0.000015 --output_name="sarada" --lr_warmup_steps="200" --train_batch_size="8" --max_train_steps="2000" --mixed_precision="bf16" --save_precision="fp16" --seed="1026" --caption_extension=".txt" --cache_latents --cache_latents_to_disk --optimizer_type="Adamw8bit" --caption_dropout_rate="0.1" --max_data_loader_n_workers="6" --clip_skip=2 --bucket_reso_steps=64 --save_every_n_steps="100" --gradient_checkpointing --xformers --persistent_data_loader_workers --ip_noise_gamma=0.1 --lr_scheduler "REX" --fp8_base --debiased_estimation_loss --optimizer_args "weight_decay=0.1" "betas=0.9,0.99" "eps=1e-6" --caption_separator=" " --keep_tokens_separator="|||"