KevinMoby commited on
Commit
b15588a
1 Parent(s): 475e73a

feat: upload old-buildings lora model

Browse files
old-buildings_config/config_file.toml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.0005
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.0005
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 = "old-buildings"
40
+ save_precision = "fp16"
41
+ save_every_n_epochs = 25
42
+ train_batch_size = 6
43
+ max_token_length = 225
44
+ mem_eff_attn = false
45
+ xformers = true
46
+ max_train_epochs = 300
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 = "old-buildings"
55
+ noise_offset = 0.2
56
+ lowram = true
57
+
58
+ [sample_prompt_arguments]
59
+ sample_every_n_epochs = 1
60
+ sample_sampler = "ddim"
61
+
62
+ [saving_arguments]
63
+ save_model_as = "safetensors"
old-buildings_config/sample_prompt.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+
2
+ a close view of a town with old buildings, windows, road with cars, people walking on roads, trees, lamps, white clouds, blue sky, eiffel tower, in the style of xyz --w 512 --h 768 --l 7 --s 28