KohyaSS/mytraining.ps
bmaltais c90aa2cc61 - Fix file/folder opening behind the browser window
- Add WD14 and BLIP captioning to utilities
- Improve overall GUI layout
2022-12-19 09:22:52 -05:00

609 lines
20 KiB
PostScript

accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned.ckpt" `
--train_data_dir="D:\dreambooth\train_bernard\train_man" `
--reg_data_dir="D:\dreambooth\train_bernard\reg_man" `
--output_dir="D:\dreambooth\train_bernard" `
--prior_loss_weight=1.0 `
--resolution="512,512" `
--train_batch_size=1 `
--learning_rate=1e-6 `
--max_train_steps=3000 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--gradient_checkpointing `
--save_every_n_epochs=1
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6.py `
--pretrained_model_name_or_path="D:\models\bernard\asd man-3000-remgb-sd15.ckpt" `
--train_data_dir="D:\dreambooth\train_bernard\train_man" `
--reg_data_dir="D:\dreambooth\train_bernard\reg_man" `
--output_dir="D:\dreambooth\train_bernard" `
--prior_loss_weight=1.0 `
--resolution="512,512" `
--train_batch_size=1 `
--learning_rate=1e-6 `
--max_train_steps=1500 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--gradient_checkpointing `
--save_every_n_epochs=1
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\train_bernard\train_man" `
--reg_data_dir="D:\dreambooth\train_bernard\reg_man" `
--output_dir="D:\dreambooth\train_bernard" `
--prior_loss_weight=1.0 `
--resolution="512,512" `
--train_batch_size=1 `
--learning_rate=1e-6 `
--max_train_steps=4500 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--gradient_checkpointing `
--no_token_padding `
--save_every_n_epochs=1
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\source\alex\train" `
--output_dir="D:\dreambooth\train_alex" `
--prior_loss_weight=1.0 `
--resolution="448,640" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=4500 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--shuffle_caption
# -fine_tuning
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\source\alex\train\50_portrait-pp" `
--output_dir="D:\dreambooth\train_alex" `
--resolution="448,640" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=4500 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--shuffle_caption
Resume:
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\source\alet_et_bernard\landscape-pp" `
--output_dir="D:\dreambooth\train_alex_and_bernard" `
--resolution="640,448" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=550 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=200 `
--seed=23 `
--save_half
# Mollie Monger
e1:
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\train_mollie_monger\landscape-pp" `
--output_dir="D:\dreambooth\train_mollie_monger\output" `
--resolution="640,448" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=625 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=200 `
--seed=23 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\mollie_monger-kohya-l-200-sd15.ckpt" `
--train_data_dir="D:\dreambooth\train_mollie_monger\portrait-pp" `
--output_dir="D:\dreambooth\train_mollie_monger\output" `
--resolution="448,640" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=1275 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=200 `
--seed=23 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\mollie_monger-kohya-l+p-200-sd15.ckpt" `
--train_data_dir="D:\dreambooth\train_mollie_monger\square-pp" `
--output_dir="D:\dreambooth\train_mollie_monger\output" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=500 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=200 `
--seed=23 `
--save_half
e2:
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\mollie_monger\mollie_monger-kohya-l+p+s-r200-e1-sd15.ckpt" `
--train_data_dir="D:\dreambooth\train_mollie_monger\landscape-pp" `
--output_dir="D:\dreambooth\train_mollie_monger\output" `
--resolution="640,448" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=625 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=200 `
--seed=23 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\mollie_monger\last.ckpt" `
--train_data_dir="D:\dreambooth\train_mollie_monger\portrait-pp" `
--output_dir="D:\dreambooth\train_mollie_monger\output" `
--resolution="448,640" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=1275 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=200 `
--seed=23 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\mollie_monger\last.ckpt" `
--train_data_dir="D:\dreambooth\train_mollie_monger\square-pp" `
--output_dir="D:\dreambooth\train_mollie_monger\output" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=500 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=200 `
--seed=23 `
--save_half
Midjourney images download:
https://storage.googleapis.com/dream-machines-output/2932e6e4-ddef-410e-947b-2a6275e31f35/0_3.png
# Midjourney
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\train_midjourney_v4\all data" `
--output_dir="D:\dreambooth\train_midjourney_v4\model" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=528 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=12 `
--seed=23 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\midjourney_v4-khoya-r100-e1-sd15.ckpt" `
--train_data_dir="D:\dreambooth\train_midjourney_v4\data2" `
--output_dir="D:\dreambooth\train_midjourney_v4\model" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=850 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=100 `
--seed=23 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\models\midjourney_v4_finetune\epoch-000001.ckpt" `
--train_data_dir="D:\dreambooth\train_midjourney_v4\newdata3" `
--output_dir="D:\dreambooth\train_midjourney_v4\model" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=159 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=24 `
--seed=23 `
--save_half
# train n
# Midjourney
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v6-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\train_childrens_drawings\model\last2.ckpt" `
--train_data_dir="D:\dreambooth\train_childrens_drawings\data2-pp" `
--output_dir="D:\dreambooth\train_childrens_drawings\model" `
--resolution="704,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=312 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--fine_tuning_repeat=48 `
--seed=23 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\train_childrens_drawings\model\last2.ckpt" `
--train_data_dir="D:\dreambooth\train_childrens_drawings\data2-pp" `
--output_dir="D:\dreambooth\train_childrens_drawings\model" `
--resolution="704,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=312 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=48 `
--seed=23 `
--save_half
# twq
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\source\bernardv2-ft" `
--output_dir="D:\dreambooth\train_bernard\model" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=720 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=48 `
--save_half
# the white queen
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\landscape-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l" `
--resolution="704,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=520 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\portrait-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p" `
--resolution="512,704" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=260 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l+p\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\square-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p+s" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=220 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--seed=23 `
--save_half
# the white queen slow progress init phase
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\landscape-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l" `
--resolution="704,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=260 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=80 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\portrait-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p" `
--resolution="512,704" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=130 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=80 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l+p\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\square-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p+s" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=90 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=80 `
--seed=23 `
--save_half
# the white queen slow progress extra steps phase
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l+p+s\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\landscape-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l" `
--resolution="704,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=130 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\portrait-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p" `
--resolution="512,704" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=65 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l+p\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\square-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p+s" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=45 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--seed=23 `
--save_half
# the queen of heart init phase
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\models\v1-5-pruned-mse-vae.ckpt" `
--train_data_dir="D:\dreambooth\train_qoh\landscape-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l" `
--resolution="704,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=260 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=80 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\portrait-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p" `
--resolution="512,704" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=130 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=80 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l+p\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\square-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p+s" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=90 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=80 `
--seed=23 `
--save_half
# the white queen slow progress extra steps phase
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l+p+s\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\landscape-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l" `
--resolution="704,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=130 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\portrait-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p" `
--resolution="512,704" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=65 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--save_half
accelerate launch --num_cpu_threads_per_process 6 train_db_fixed_v7-ber.py `
--pretrained_model_name_or_path="D:\dreambooth\training_twq\the_white_queen\model+l+p\last.ckpt" `
--train_data_dir="D:\dreambooth\training_twq\the_white_queen\square-ft" `
--output_dir="D:\dreambooth\training_twq\the_white_queen\model+l+p+s" `
--resolution="512,512" `
--train_batch_size=8 `
--learning_rate=1e-6 `
--max_train_steps=45 `
--use_8bit_adam `
--xformers `
--mixed_precision="fp16" `
--cache_latents `
--save_every_n_epochs=1 `
--fine_tuning `
--dataset_repeats=40 `
--seed=23 `
--save_half