x1101 commited on
Commit
7fa2f0b
1 Parent(s): 0b0a261
alisa_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/Animefull-final-pruned.ckpt"
5
+
6
+ [additional_network_arguments]
7
+ no_metadata = false
8
+ unet_lr = 0.0005
9
+ text_encoder_lr = 0.0001
10
+ network_module = "networks.lora"
11
+ network_dim = 8
12
+ network_alpha = 1
13
+ network_train_unet_only = false
14
+ network_train_text_encoder_only = false
15
+
16
+ [optimizer_arguments]
17
+ min_snr_gamma = 5
18
+ optimizer_type = "AdamW8bit"
19
+ learning_rate = 0.0005
20
+ max_grad_norm = 1.0
21
+ lr_scheduler = "cosine_with_restarts"
22
+ lr_warmup_steps = 0
23
+ lr_scheduler_num_cycles = 3
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 = 15
30
+ shuffle_caption = true
31
+ keep_tokens = 0
32
+ resolution = "768,768"
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 = "alisa"
43
+ save_precision = "fp16"
44
+ save_every_n_epochs = 1
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 = "alisa"
58
+ lowram = true
59
+
60
+ [sample_prompt_arguments]
61
+ sample_every_n_epochs = 999999
62
+ sample_sampler = "k_dpm_2_a"
63
+
64
+ [saving_arguments]
65
+ save_model_as = "safetensors"
alisa_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