alc15492 commited on
Commit
3cab6b0
1 Parent(s): f704c71

feat: upload last lora model

Browse files
last_config/config_file.toml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [model_arguments]
2
+ v2 = false
3
+ v_parameterization = false
4
+ pretrained_model_name_or_path = "/content/pretrained_model/AnyLoRA.safetensors"
5
+
6
+ [additional_network_arguments]
7
+ no_metadata = false
8
+ unet_lr = 0.001
9
+ network_module = "networks.lora"
10
+ network_dim = 64
11
+ network_alpha = 32
12
+ network_train_unet_only = true
13
+ network_train_text_encoder_only = false
14
+
15
+ [optimizer_arguments]
16
+ optimizer_type = "AdamW8bit"
17
+ learning_rate = 0.001
18
+ max_grad_norm = 1.0
19
+ lr_scheduler = "constant"
20
+ lr_warmup_steps = 0
21
+
22
+ [dataset_arguments]
23
+ debug_dataset = false
24
+ in_json = "/content/LoRA/meta_lat.json"
25
+ train_data_dir = "/content/LoRA/train_data"
26
+ dataset_repeats = 1
27
+ shuffle_caption = true
28
+ keep_tokens = 0
29
+ resolution = "512,512"
30
+ caption_dropout_rate = 0
31
+ caption_tag_dropout_rate = 0
32
+ caption_dropout_every_n_epochs = 0
33
+ color_aug = false
34
+ token_warmup_min = 1
35
+ token_warmup_step = 0
36
+
37
+ [training_arguments]
38
+ output_dir = "/content/LoRA/output"
39
+ output_name = "last"
40
+ save_precision = "fp16"
41
+ save_every_n_epochs = 25
42
+ train_batch_size = 3
43
+ max_token_length = 225
44
+ mem_eff_attn = false
45
+ xformers = true
46
+ max_train_epochs = 400
47
+ max_data_loader_n_workers = 8
48
+ persistent_data_loader_workers = true
49
+ gradient_checkpointing = false
50
+ gradient_accumulation_steps = 1
51
+ mixed_precision = "fp16"
52
+ clip_skip = 2
53
+ logging_dir = "/content/LoRA/logs"
54
+ log_prefix = "last"
55
+ lowram = true
56
+
57
+ [sample_prompt_arguments]
58
+ sample_every_n_epochs = 1
59
+ sample_sampler = "ddim"
60
+
61
+ [saving_arguments]
62
+ save_model_as = "safetensors"
last_config/sample_prompt.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+
2
+ a woman and man walking, zwx style --w 512 --h 768 --l 7 --s 28