x1101 commited on
Commit
114c2ec
1 Parent(s): b6cdda1
Ai-Hoshinov3-Locon_config/config_file.toml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [model_arguments]
2
+ v2 = false
3
+ v_parameterization = false
4
+ pretrained_model_name_or_path = "/content/pretrained_model/AnyLoRA.safetensors"
5
+ vae = "/content/vae/anime.vae.pt"
6
+
7
+ [additional_network_arguments]
8
+ no_metadata = false
9
+ unet_lr = 0.0001
10
+ text_encoder_lr = 5e-5
11
+ network_module = "lycoris.kohya"
12
+ network_dim = 32
13
+ network_alpha = 16
14
+ network_args = [ "conv_dim=32", "conv_alpha=16", "algo=lora",]
15
+ network_train_unet_only = false
16
+ network_train_text_encoder_only = false
17
+
18
+ [optimizer_arguments]
19
+ optimizer_type = "AdamW8bit"
20
+ learning_rate = 0.0001
21
+ max_grad_norm = 1.0
22
+ lr_scheduler = "constant"
23
+ lr_warmup_steps = 0
24
+
25
+ [dataset_arguments]
26
+ debug_dataset = false
27
+ in_json = "/content/LoRA/meta_lat.json"
28
+ train_data_dir = "/content/LoRA/train_data"
29
+ dataset_repeats = 10
30
+ shuffle_caption = true
31
+ keep_tokens = 0
32
+ resolution = "512,512"
33
+ caption_dropout_rate = 0
34
+ caption_tag_dropout_rate = 0
35
+ caption_dropout_every_n_epochs = 0
36
+ color_aug = false
37
+ token_warmup_min = 1
38
+ token_warmup_step = 0
39
+
40
+ [training_arguments]
41
+ output_dir = "/content/LoRA/output"
42
+ output_name = " Ai-Hoshinov3-Locon"
43
+ save_precision = "fp16"
44
+ save_every_n_epochs = 2
45
+ train_batch_size = 2
46
+ max_token_length = 225
47
+ mem_eff_attn = false
48
+ xformers = true
49
+ max_train_epochs = 10
50
+ max_data_loader_n_workers = 8
51
+ persistent_data_loader_workers = true
52
+ gradient_checkpointing = false
53
+ gradient_accumulation_steps = 1
54
+ mixed_precision = "fp16"
55
+ clip_skip = 2
56
+ logging_dir = "/content/LoRA/logs"
57
+ log_prefix = " Ai-Hoshinov3-Locon"
58
+ lowram = true
59
+
60
+ [sample_prompt_arguments]
61
+ sample_every_n_epochs = 999999
62
+ sample_sampler = "ddim"
63
+
64
+ [saving_arguments]
65
+ save_model_as = "safetensors"
Ai-Hoshinov3-Locon_config/sample_prompt.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+
2
+ masterpiece, best quality, 1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt --n lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry --w 512 --h 768 --l 7 --s 28