alc15492 commited on
Commit
1d339c6
1 Parent(s): 8f57252

feat: upload lego_cars lora model

Browse files
lego_cars_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 = 128
11
+ network_alpha = 64
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 = "768,768"
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 = "lego_cars"
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 = 250
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 = "lego_cars"
55
+ noise_offset = 0.3
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"
lego_cars_config/sample_prompt.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a lego ambulance --w 512 --h 768 --l 7 --s 28