File size: 1,107 Bytes
79d6d33 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
[model_arguments]
v2 = true
v_parameterization = true
pretrained_model_name_or_path = "/content/pretrained_model/Regainer-v3.safetensors"
[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/dreambooth/output"
output_name = "Regainer-v6"
save_precision = "fp16"
save_n_epoch_ratio = 1
save_state = true
resume = "/content/dreambooth/regainer-v5-state"
train_batch_size = 2
max_token_length = 225
mem_eff_attn = false
xformers = true
max_train_steps = 7292
max_data_loader_n_workers = 8
persistent_data_loader_workers = true
gradient_checkpointing = false
gradient_accumulation_steps = 1
mixed_precision = "fp16"
logging_dir = "/content/dreambooth/logs"
log_prefix = "Regainer-v6"
noise_offset = 0.1
[sample_prompt_arguments]
sample_every_n_steps = 200
sample_sampler = "ddim"
[dreambooth_arguments]
prior_loss_weight = 1.0
[saving_arguments]
save_model_as = "safetensors"
|