feat: upload mee_japan_xl lora model
Browse files
mee_japan_xl_config/config_file.toml
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[sdxl_arguments]
|
2 |
+
cache_text_encoder_outputs = false
|
3 |
+
no_half_vae = true
|
4 |
+
min_timestep = 0
|
5 |
+
max_timestep = 1000
|
6 |
+
shuffle_caption = true
|
7 |
+
lowram = true
|
8 |
+
|
9 |
+
[model_arguments]
|
10 |
+
pretrained_model_name_or_path = "cagliostrolab/animagine-xl-3.0"
|
11 |
+
vae = "/content/vae/sdxl_vae.safetensors"
|
12 |
+
|
13 |
+
[dataset_arguments]
|
14 |
+
debug_dataset = false
|
15 |
+
in_json = "/content/LoRA/meta_lat.json"
|
16 |
+
train_data_dir = "/content/LoRA/train_data"
|
17 |
+
dataset_repeats = 1
|
18 |
+
keep_tokens = 0
|
19 |
+
resolution = "1024,1024"
|
20 |
+
color_aug = false
|
21 |
+
token_warmup_min = 1
|
22 |
+
token_warmup_step = 0
|
23 |
+
|
24 |
+
[training_arguments]
|
25 |
+
output_dir = "/content/drive/MyDrive/kohya-trainer/output/mee_japan_xl"
|
26 |
+
output_name = "mee_japan_xl"
|
27 |
+
save_precision = "fp16"
|
28 |
+
save_every_n_epochs = 1
|
29 |
+
train_batch_size = 4
|
30 |
+
max_token_length = 225
|
31 |
+
mem_eff_attn = false
|
32 |
+
sdpa = true
|
33 |
+
xformers = false
|
34 |
+
max_train_epochs = 10
|
35 |
+
max_data_loader_n_workers = 8
|
36 |
+
persistent_data_loader_workers = true
|
37 |
+
gradient_checkpointing = true
|
38 |
+
gradient_accumulation_steps = 1
|
39 |
+
mixed_precision = "fp16"
|
40 |
+
|
41 |
+
[logging_arguments]
|
42 |
+
log_with = "wandb"
|
43 |
+
log_tracker_name = "mee_japan_xl"
|
44 |
+
logging_dir = "/content/LoRA/logs"
|
45 |
+
|
46 |
+
[sample_prompt_arguments]
|
47 |
+
sample_every_n_epochs = 1
|
48 |
+
sample_sampler = "euler_a"
|
49 |
+
|
50 |
+
[saving_arguments]
|
51 |
+
save_model_as = "safetensors"
|
52 |
+
|
53 |
+
[optimizer_arguments]
|
54 |
+
optimizer_type = "AdaFactor"
|
55 |
+
learning_rate = 0.0001
|
56 |
+
max_grad_norm = 0
|
57 |
+
optimizer_args = [ "scale_parameter=False", "relative_step=False", "warmup_init=False",]
|
58 |
+
lr_scheduler = "constant_with_warmup"
|
59 |
+
lr_warmup_steps = 100
|
60 |
+
|
61 |
+
[additional_network_arguments]
|
62 |
+
no_metadata = false
|
63 |
+
network_module = "networks.lora"
|
64 |
+
network_dim = 32
|
65 |
+
network_alpha = 16
|
66 |
+
network_args = []
|
67 |
+
network_train_unet_only = true
|
mee_japan_xl_config/sample_prompt.toml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[prompt]
|
2 |
+
negative_prompt = "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, "
|
3 |
+
width = 1024
|
4 |
+
height = 1024
|
5 |
+
scale = 12
|
6 |
+
sample_steps = 28
|
7 |
+
[[prompt.subset]]
|
8 |
+
prompt = "masterpiece, best quality, solo, white fur, furry, male focus, looking at viewer, claws, 1boy, animal ears, tail, white hair, closed mouth, full body, colored skin, smile, horns, on back, lying, :3, body fur, multicolored skin, black skin, animal feet"
|
9 |
+
|