[model_arguments] | |
v2 = false | |
v_parameterization = false | |
pretrained_model_name_or_path = "/content/pretrained_model/Stable-Diffusion-v1-5.safetensors" | |
vae = "/content/vae/stablediffusion.vae.pt" | |
[optimizer_arguments] | |
min_snr_gamma = 5 | |
optimizer_type = "AdamW8bit" | |
learning_rate = 2e-6 | |
max_grad_norm = 1.0 | |
lr_scheduler = "constant" | |
lr_warmup_steps = 0 | |
[dataset_arguments] | |
cache_latents = true | |
debug_dataset = false | |
vae_batch_size = 1 | |
[training_arguments] | |
output_dir = "/content/drive/MyDrive/dreambooth/output" | |
output_name = "last" | |
save_precision = "fp16" | |
save_n_epoch_ratio = 1 | |
save_state = false | |
train_batch_size = 4 | |
max_token_length = 225 | |
mem_eff_attn = false | |
xformers = true | |
max_train_steps = 2500 | |
max_data_loader_n_workers = 8 | |
persistent_data_loader_workers = true | |
gradient_checkpointing = false | |
gradient_accumulation_steps = 1 | |
mixed_precision = "fp16" | |
clip_skip = 2 | |
logging_dir = "/content/dreambooth/logs" | |
log_prefix = "last" | |
[sample_prompt_arguments] | |
sample_every_n_steps = 999999 | |
sample_sampler = "ddim" | |
[dreambooth_arguments] | |
prior_loss_weight = 1.0 | |
[saving_arguments] | |
save_model_as = "ckpt" | |