gustproof commited on
Commit
011a704
•
1 Parent(s): 03c2666

Create release_notes/v3.1.md

Browse files
Files changed (1) hide show
  1. deresute-u149/release_notes/v3.1.md +114 -0
deresute-u149/release_notes/v3.1.md ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # v3.0 & v3.1
2
+
3
+ [Other versions](https://huggingface.co/gustproof/sd-models/tree/main/deresute-u149)
4
+
5
+ A LoRA 742 based on Cinderella Girls game art, recognizing [the 9 characters in the U149 anime](https://cinderella-u149-anime.idolmaster-official.jp/character). A small test for all-character models.
6
+
7
+ Replaced Japanese character tags. Removed Hadamard Product dependency. Reduced file size. Added deremas card concept.
8
+
9
+
10
+ ## Usage
11
+
12
+ The style itself doesn't have a trigger word. For the characters, below are the character tags and respective top 20 related tags.
13
+
14
+ ```
15
+ Sasaki Chie,
16
+ short hair, black hair, black eyes, smile, 1girl, solo, hair ornament, hairclip, open mouth, rabbit hair ornament, looking at viewer, blush, skirt, bangs, dress, holding, card, bow, hat, braid
17
+
18
+ Akagi Miria,
19
+ short hair, black hair, smile, brown eyes, two side up, 1girl, open mouth, solo, looking at viewer, blush, hair ornament, :d, skirt, brown hair, gloves, one eye closed, jewelry, star, dress, closed eyes
20
+
21
+ Ryuzaki Kaoru,
22
+ hair ornament, short hair, hairclip, brown hair, smile, 1girl, open mouth, solo, yellow eyes, looking at viewer, shorts, orange hair, hat, closed eyes, card, character name, sun symbol, jewelry, flower, food
23
+
24
+ Tachibana Arisu,
25
+ brown eyes, brown hair, long hair, 1girl, solo, bow, smile, hair bow, dress, looking at viewer, open mouth, blush, ribbon, black hair, flower, food, frills, hair ornament, fruit, white background
26
+
27
+ Ichihara Nina,
28
+ long hair, smile, brown hair, open mouth, 1girl, solo, brown eyes, blush, cosplay, animal costume, kigurumi, bangs, :d, looking at viewer, bow, blunt bangs, closed eyes, hat, striped, gloves
29
+
30
+ Matoba Risa,
31
+ black hair, long hair, yellow eyes, twintails, 1girl, solo, ribbon, hair ribbon, smile, jewelry, necklace, open mouth, skirt, looking at viewer, blush, midriff, bangs, one eye closed, belt, gloves
32
+
33
+ Yuki Haru,
34
+ orange hair, 1girl, solo, smile, long hair, open mouth, shorts, brown eyes, looking at viewer, gloves, midriff, holding, navel, blush, brown hair, hat, shirt, sky, fingerless gloves, white background
35
+
36
+ Sakurai Momoka,
37
+ blonde hair, green eyes, short hair, smile, 1girl, solo, looking at viewer, dress, open mouth, flower, wavy hair, hairband, frills, blush, hair ornament, bow, gloves, jewelry, rose, hat
38
+
39
+ Koga Koharu,
40
+ short hair, 1girl, solo, brown hair, smile, brown eyes, flower, open mouth, dress, :d, bow, card, character name, hairband, pink background, looking at viewer, hair bow, gloves, star, blush
41
+ ```
42
+
43
+
44
+ ## Training info
45
+
46
+ Dataset:
47
+ * 129 framed Cinderella Girls cards from [アイマス シンデレラガールズ カードギャラリー](https://imas.gamedbs.jp/cg/) (no frameless version available)
48
+ * 273 frameless Cinderella Girls cards from [アイマス シンデレラガールズ カードギャラリー](https://imas.gamedbs.jp/cg/)
49
+ * 174 Starlight Stage cards ("spreads") from [Starlight DB](https://starlight.kirara.ca/)
50
+ * 166 Starlight Stage character cutouts ("sprites") from [Starlight DB](https://starlight.kirara.ca/)
51
+
52
+ Tags generated with [SmilingWolf/wd-v1-4-convnextv2-tagger-v2](https://huggingface.co/SmilingWolf/wd-v1-4-convnextv2-tagger-v2) with a threshold of 0.35. No tag cleaning. Characters roughly balanced for each image type so that `#max / #min <= 2`. Denoised with [RealESRGAN_x4plus_anime_6B](https://github.com/xinntao/Real-ESRGAN/blob/master/docs/anime_model.md).
53
+
54
+ v3.0 trained on resolution 512 for 63 epochs. v3.1 continued from v3.0 and trained on resolution 768 for 15 epochs. A custom SGDR lr scheduler was used.
55
+
56
+ Training cost: ~5.5 T4-hours
57
+
58
+ Data distribution:
59
+ ```
60
+ character framed frameless sprite spread total
61
+ 1 Sasaki Chie 21 30 24 22 97
62
+ 2 Akagi Miria 13 37 20 18 88
63
+ 3 Ryuzaki Kaoru 16 34 20 18 88
64
+ 4 Tachibana Arisu 7 34 24 22 87
65
+ 5 Ichihara Nina 6 38 20 20 84
66
+ 6 Matoba Risa 19 22 20 18 79
67
+ 7 Yuki Haru 13 26 20 18 77
68
+ 8 Sakurai Momoka 6 36 10 24 76
69
+ 9 Koga Koharu 28 16 8 14 66
70
+ ```
71
+
72
+
73
+ Training config:
74
+ ```
75
+ [model_arguments]
76
+ v2 = false
77
+ v_parameterization = false
78
+ pretrained_model_name_or_path = "../animefull-final-pruned.ckpt"
79
+
80
+ [additional_network_arguments]
81
+ no_metadata = false
82
+ network_module = "networks.lora"
83
+ network_dim = 8
84
+ network_alpha = 1
85
+
86
+ [optimizer_arguments]
87
+ #optimizer_type = "DAdaptation"
88
+ optimizer_type = "AdamW8bit"
89
+ learning_rate = 3e-4
90
+ max_grad_norm = 1
91
+ lr_scheduler = "custom"
92
+
93
+ [training_arguments]
94
+ save_precision = "fp16"
95
+ save_every_n_epochs = 1
96
+ train_batch_size = 2
97
+ max_token_length = 225
98
+ mem_eff_attn = false
99
+ xformers = true
100
+ max_train_epochs = 9999
101
+ max_data_loader_n_workers = 8
102
+ persistent_data_loader_workers = true
103
+ gradient_checkpointing = false
104
+ gradient_accumulation_steps = 1
105
+ mixed_precision = "fp16"
106
+ clip_skip = 2
107
+ lowram = true
108
+ cache_latents = true
109
+ min_snr_gamma = 5
110
+
111
+ [saving_arguments]
112
+ save_model_as = "safetensors"
113
+
114
+ ```