hf upload
Browse files
anima-diffusion_config/config_file.toml
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[sdxl_arguments]
|
2 |
+
cache_text_encoder_outputs = true
|
3 |
+
no_half_vae = false
|
4 |
+
min_timestep = 0
|
5 |
+
max_timestep = 1000
|
6 |
+
shuffle_caption = false
|
7 |
+
|
8 |
+
[model_arguments]
|
9 |
+
pretrained_model_name_or_path = "/content/pretrained_model/wdxl-aesthetic-0.9.safetensors"
|
10 |
+
vae = "/content/vae/sdxl_vae.safetensors"
|
11 |
+
|
12 |
+
[dataset_arguments]
|
13 |
+
debug_dataset = false
|
14 |
+
in_json = "/content/fine_tune/meta_lat.json"
|
15 |
+
train_data_dir = "/content/fine_tune/train_data"
|
16 |
+
dataset_repeats = 1
|
17 |
+
keep_tokens = 0
|
18 |
+
resolution = "1024,1024"
|
19 |
+
caption_dropout_rate = 0
|
20 |
+
caption_tag_dropout_rate = 0
|
21 |
+
caption_dropout_every_n_epochs = 0
|
22 |
+
color_aug = false
|
23 |
+
token_warmup_min = 1
|
24 |
+
token_warmup_step = 0
|
25 |
+
|
26 |
+
[training_arguments]
|
27 |
+
output_dir = "/content/fine_tune/output"
|
28 |
+
output_name = "anima-diffusion"
|
29 |
+
save_precision = "fp16"
|
30 |
+
save_every_n_steps = 2500
|
31 |
+
train_batch_size = 4
|
32 |
+
max_token_length = 225
|
33 |
+
mem_eff_attn = false
|
34 |
+
xformers = true
|
35 |
+
max_train_steps = 2500
|
36 |
+
max_data_loader_n_workers = 8
|
37 |
+
persistent_data_loader_workers = true
|
38 |
+
gradient_checkpointing = true
|
39 |
+
gradient_accumulation_steps = 1
|
40 |
+
mixed_precision = "fp16"
|
41 |
+
|
42 |
+
[logging_arguments]
|
43 |
+
log_with = "tensorboard"
|
44 |
+
logging_dir = "/content/fine_tune/logs"
|
45 |
+
log_prefix = "anima-diffusion"
|
46 |
+
|
47 |
+
[sample_prompt_arguments]
|
48 |
+
sample_every_n_steps = 250
|
49 |
+
sample_sampler = "euler_a"
|
50 |
+
|
51 |
+
[saving_arguments]
|
52 |
+
save_model_as = "safetensors"
|
53 |
+
|
54 |
+
[optimizer_arguments]
|
55 |
+
optimizer_type = "AdaFactor"
|
56 |
+
learning_rate = 4e-7
|
57 |
+
train_text_encoder = false
|
58 |
+
max_grad_norm = 0
|
59 |
+
optimizer_args = [ "scale_parameter=False", "relative_step=False", "warmup_init=False",]
|
60 |
+
lr_scheduler = "constant_with_warmup"
|
61 |
+
lr_warmup_steps = 100
|
62 |
+
|
63 |
+
[advanced_training_config]
|
anima-diffusion_config/sample_prompt.toml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[prompt]
|
2 |
+
width = 1024
|
3 |
+
height = 1024
|
4 |
+
scale = 7
|
5 |
+
sample_steps = 28
|
6 |
+
[[prompt.subset]]
|
7 |
+
prompt = "anime, 1girl, solo, long hair, breasts, looking at viewer, blush, large breasts, cleavage, sitting, purple eyes, collarbone, swimsuit, outdoors, sky, day, one-piece swimsuit, ocean, beach"
|
8 |
+
|
9 |
+
[[prompt.subset]]
|
10 |
+
prompt = "anime, 1girl, solo, long hair, looking at viewer, blush, open mouth, skirt, black hair, school uniform, yellow eyes, ass, censored, pussy, socks, cum, mosaic censoring, sweater, blue skirt, anus, cum in pussy, black socks, after sex, yellow sweater"
|
11 |
+
|
12 |
+
[[prompt.subset]]
|
13 |
+
prompt = "anime, 1girl, solo, long hair, breasts, looking at viewer, large breasts, cleavage, purple eyes, upper body, ponytail, purple hair, horns, formal, suit, single horn, oni horns, green shirt, purple jacket"
|
14 |
+
|