Oosayam commited on
Commit
7194a1b
·
verified ·
1 Parent(s): 8fd9cbb

Upload lora_scrips_config.toml

Browse files
Files changed (1) hide show
  1. lora_scrips_config.toml +46 -0
lora_scrips_config.toml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_train_type = "sdxl-lora"
2
+ pretrained_model_name_or_path = "d:/lora-scripts/sd-models/illustriousXL_v01.safetensors"
3
+ vae = "D:/models/VAE/illustriousXLV20_v10.safetensors"
4
+ train_data_dir = "./train/mayasoo/image"
5
+ prior_loss_weight = 1
6
+ resolution = "768,768"
7
+ enable_bucket = true
8
+ min_bucket_reso = 256
9
+ max_bucket_reso = 1344
10
+ bucket_reso_steps = 64
11
+ bucket_no_upscale = true
12
+ output_name = "XXXXXXXX_IL"
13
+ output_dir = "./output/"
14
+ save_model_as = "safetensors"
15
+ save_precision = "fp16"
16
+ save_every_n_epochs = 11
17
+ save_state = false
18
+ max_train_epochs = 10
19
+ train_batch_size = 3
20
+ gradient_checkpointing = true
21
+ network_train_unet_only = false
22
+ network_train_text_encoder_only = false
23
+ learning_rate = 0.0001
24
+ unet_lr = 0.0001
25
+ text_encoder_lr = 0.00001
26
+ lr_scheduler = "cosine_with_restarts"
27
+ lr_warmup_steps = 200
28
+ lr_scheduler_num_cycles = 1
29
+ optimizer_type = "AdamW8bit"
30
+ network_module = "lycoris.kohya"
31
+ network_dim = 8
32
+ network_alpha = 4
33
+ log_with = "tensorboard"
34
+ logging_dir = "./logs"
35
+ caption_extension = ".txt"
36
+ shuffle_caption = true
37
+ keep_tokens = 0
38
+ max_token_length = 255
39
+ seed = 13377
40
+ mixed_precision = "fp16"
41
+ xformers = true
42
+ lowram = false
43
+ cache_latents = true
44
+ cache_latents_to_disk = true
45
+ persistent_data_loader_workers = true
46
+ network_args = [ "conv_dim=4", "conv_alpha=1", "dropout=0", "algo=locon" ]