Create v2.1.md
Browse files- shinymas/release_notes/v2.1.md +201 -0
shinymas/release_notes/v2.1.md
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# v2.1 & v2.0
|
2 |
+
|
3 |
+
[Other versions](https://huggingface.co/gustproof/sd-models/tree/main/shinymas)
|
4 |
+
|
5 |
+
A LoRA based on 966 Shiny Colors cards, recognizing the 26 characters to varying degrees.
|
6 |
+
|
7 |
+
Resumed from [deresute-v1.3-epoch16](https://huggingface.co/gustproof/sd-models/blob/main/deresute/checkpoints/deresute-v1.3-000016.safetensors) by accident instead of training from scratch,
|
8 |
+
retaining surprisingly much of the knowledge of Cinderella Girls characters.
|
9 |
+
This suggests that it's likely the model's capacity is nowhere close to being reached.
|
10 |
+
|
11 |
+
This also serves as a demo of an extremely inefficient style transfer method: train the characters, and then train on lots of unrelated styled images.
|
12 |
+
|
13 |
+
## Usage
|
14 |
+
The style itself doesn't have a trigger word. For the characters, below are the character tags and respective top 20 related tags.
|
15 |
+
|
16 |
+
```
|
17 |
+
Sakuragi Mano,
|
18 |
+
brown eyes, smile, 1girl, open mouth, brown hair, looking at viewer, solo, bangs, light brown hair, outdoors, skirt, holding, medium hair, blush, shirt, dutch angle, breasts, hair ornament, multiple girls, blonde hair
|
19 |
+
|
20 |
+
Kazano Hiori,
|
21 |
+
black hair, mole, mole under mouth, long hair, looking at viewer, smile, 1girl, solo, bangs, open mouth, ponytail, purple eyes, multiple girls, blonde hair, skirt, dress, hair ornament, breasts, outdoors, holding
|
22 |
+
|
23 |
+
Hachimiya Meguru,
|
24 |
+
blonde hair, blue eyes, smile, long hair, looking at viewer, hair ornament, 1girl, open mouth, solo, breasts, ahoge, hairclip, twintails, multiple girls, shirt, outdoors, bangs, black hair, skirt, large breasts
|
25 |
+
|
26 |
+
Osaki Tenka,
|
27 |
+
long hair, brown hair, yellow eyes, bangs, looking at viewer, 1girl, hair between eyes, smile, solo, open mouth, holding, blush, long sleeves, dress, multiple girls, frills, brown eyes, braid, sisters, skirt
|
28 |
+
|
29 |
+
Morino Rinze,
|
30 |
+
red eyes, black hair, bangs, short hair, 1girl, looking at viewer, solo, smile, blue hair, long sleeves, hair ornament, holding, hair bun, outdoors, multiple girls, skirt, shirt, open mouth, flower, long hair
|
31 |
+
|
32 |
+
Tsukioka Kogane,
|
33 |
+
long hair, brown hair, bangs, looking at viewer, breasts, brown eyes, large breasts, 1girl, smile, solo, open mouth, blush, skirt, jewelry, bow, shirt, ribbon, dress, holding, outdoors
|
34 |
+
|
35 |
+
Arisugawa Natsuha,
|
36 |
+
long hair, smile, bangs, orange hair, looking at viewer, breasts, jewelry, 1girl, solo, earrings, black eyes, open mouth, red hair, shirt, multiple girls, skirt, brown hair, jacket, ahoge, outdoors
|
37 |
+
|
38 |
+
Kuwayama Chiyuki,
|
39 |
+
brown hair, long hair, smile, looking at viewer, brown eyes, bangs, breasts, 1girl, ahoge, solo, braid, holding, open mouth, jewelry, blush, dress, skirt, multiple girls, large breasts, shirt
|
40 |
+
|
41 |
+
Osaki Amana,
|
42 |
+
brown hair, long hair, yellow eyes, smile, bangs, looking at viewer, open mouth, 1girl, solo, jewelry, breasts, multiple girls, blush, frills, dress, holding, collarbone, sitting, skirt, bare shoulders
|
43 |
+
|
44 |
+
Saijo Juri,
|
45 |
+
blonde hair, short hair, purple eyes, 1girl, looking at viewer, bangs, solo, smile, jacket, jewelry, outdoors, shirt, shorts, holding, multiple girls, open mouth, dutch angle, skirt, breasts, brown hair
|
46 |
+
|
47 |
+
Komiya Kaho,
|
48 |
+
red hair, long hair, red eyes, smile, open mouth, bangs, looking at viewer, 1girl, solo, ahoge, jacket, skirt, multiple girls, shirt, holding, shorts, brown hair, outdoors, hair between eyes, gloves
|
49 |
+
|
50 |
+
Tanaka Mamimi,
|
51 |
+
purple hair, purple eyes, bangs, diagonal bangs, looking at viewer, jewelry, 1girl, twintails, solo, earrings, long hair, smile, nail polish, holding, shirt, skirt, choker, open mouth, breasts, jacket
|
52 |
+
|
53 |
+
Yukoku Kiriko,
|
54 |
+
long hair, grey hair, purple eyes, bangs, looking at viewer, twintails, dress, smile, 1girl, solo, multiple girls, open mouth, long sleeves, holding, frills, brown hair, breasts, shirt, black hair, bandaid
|
55 |
+
|
56 |
+
Mitsumine Yuika,
|
57 |
+
black hair, long hair, smile, looking at viewer, 1girl, blue eyes, solo, twintails, glasses, open mouth, hat, jacket, brown hair, skirt, bangs, jewelry, holding, outdoors, multiple girls, shirt
|
58 |
+
|
59 |
+
Sonoda Chiyoko,
|
60 |
+
brown hair, looking at viewer, twintails, 1girl, solo, red eyes, smile, bangs, hair bun, double bun, holding, skirt, food, long hair, open mouth, multiple girls, jewelry, shirt, breasts, one eye closed
|
61 |
+
|
62 |
+
Serizawa Asahi,
|
63 |
+
blue eyes, short hair, 1girl, bangs, looking at viewer, grey hair, solo, open mouth, outdoors, smile, jacket, shirt, skirt, shorts, long sleeves, jewelry, shoes, sky, holding, brown hair
|
64 |
+
|
65 |
+
Shirase Sakuya,
|
66 |
+
black hair, long hair, yellow eyes, smile, bangs, breasts, jewelry, ponytail, hair between eyes, large breasts, looking at viewer, 1girl, solo, high ponytail, cleavage, earrings, multiple girls, jacket, open mouth, necklace
|
67 |
+
|
68 |
+
Izumi Mei,
|
69 |
+
long hair, blonde hair, brown hair, multicolored hair, gradient hair, gyaru, black eyes, breasts, looking at viewer, jewelry, 1girl, earrings, large breasts, solo, smile, tan, cleavage, jacket, dark skin, multiple girls
|
70 |
+
|
71 |
+
Mayuzumi Fuyuko,
|
72 |
+
black hair, long hair, bangs, looking at viewer, brown eyes, blunt bangs, smile, 1girl, skirt, solo, two side up, open mouth, shirt, jewelry, breasts, long sleeves, multiple girls, multicolored hair, holding, sitting
|
73 |
+
|
74 |
+
Asakura Toru,
|
75 |
+
short hair, looking at viewer, 1girl, solo, jewelry, multicolored hair, gradient hair, bangs, blue hair, earrings, ahoge, brown hair, outdoors, jacket, hair ornament, dutch angle, blue eyes, dress, multiple girls, smile
|
76 |
+
|
77 |
+
Higuchi Madoka,
|
78 |
+
short hair, mole under eye, mole, brown hair, purple eyes, hair ornament, hairclip, 1girl, solo, looking at viewer, bangs, skirt, jacket, long sleeves, outdoors, multiple girls, black hair, shirt, nail polish, dutch angle
|
79 |
+
|
80 |
+
Ichikawa Hinana,
|
81 |
+
brown hair, looking at viewer, brown eyes, long hair, bangs, 1girl, solo, skirt, open mouth, hair bun, smile, ribbon, dutch angle, parted bangs, hair ribbon, dress, jewelry, hair ornament, single hair bun, shirt
|
82 |
+
|
83 |
+
Fukumaru Koito,
|
84 |
+
black hair, purple eyes, twintails, 1girl, looking at viewer, solo, fangs, open mouth, skin fangs, skirt, hair ornament, ribbon, shirt, indoors, short hair, dutch angle, hair ribbon, long sleeves, multiple girls, brown hair
|
85 |
+
|
86 |
+
Nanakusa Nichika,
|
87 |
+
looking at viewer, 1girl, brown hair, green hair, solo, short hair, smile, bangs, brown eyes, multiple girls, long hair, jewelry, open mouth, jacket, shirt, outdoors, holding, earrings, gloves, dress
|
88 |
+
|
89 |
+
Aketa Mikoto,
|
90 |
+
multicolored hair, brown hair, gradient hair, jewelry, looking at viewer, jacket, 1girl, blonde hair, smile, earrings, brown eyes, solo, multiple girls, 2girls, gloves, nail polish, green hair, shirt, dress, breasts
|
91 |
+
|
92 |
+
Ikaruga Luca,
|
93 |
+
1girl, multicolored hair, black hair, yellow eyes, looking at viewer, solo, blonde hair, bangs, skirt, streaked hair, midriff, crop top, two-tone hair, medium hair, jacket, gloves, shirt, fishnets, breasts, off shoulder
|
94 |
+
```
|
95 |
+
|
96 |
+
As a bonus, [Cinderella Girls](https://civitai.com/models/23476/) prompts mostly work as well.
|
97 |
+
|
98 |
+
## Training info
|
99 |
+
|
100 |
+
Training info
|
101 |
+
Dataset:
|
102 |
+
* 996 Shiny Colors cards collected from [シャニマスDB](https://imassc.gamedbs.jp/)
|
103 |
+
|
104 |
+
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 balancing and tag cleaning. No distinction between Produce and Support cards.
|
105 |
+
|
106 |
+
Inspired by [a 2022 paper](https://openreview.net/pdf?id=Uad23IcIEs), a custom LR scheduler was used:
|
107 |
+
```
|
108 |
+
SequentialLR(optimizer, [
|
109 |
+
LinearLR(optimizer, 0.1, total_iters=steps_per_epoch),
|
110 |
+
CosineAnnealingWarmRestarts(optimizer, steps_per_epoch*2, T_mult=2)
|
111 |
+
], [steps_per_epoch])
|
112 |
+
```
|
113 |
+
|
114 |
+
Training cost: ~12 T4-hours (in addition to v1.1 and v1.2 costs)
|
115 |
+
|
116 |
+
|
117 |
+
Data distribution:
|
118 |
+
```
|
119 |
+
character cards
|
120 |
+
1 Sakuragi Mano 52
|
121 |
+
2 Kazano Hiori 49
|
122 |
+
3 Hachimiya Meguru 47
|
123 |
+
4 Osaki Tenka 46
|
124 |
+
5 Morino Rinze 45
|
125 |
+
6 Tsukioka Kogane 44
|
126 |
+
7 Arisugawa Natsuha 44
|
127 |
+
8 Kuwayama Chiyuki 44
|
128 |
+
9 Osaki Amana 43
|
129 |
+
10 Saijo Juri 43
|
130 |
+
11 Komiya Kaho 43
|
131 |
+
12 Tanaka Mamimi 42
|
132 |
+
13 Yukoku Kiriko 42
|
133 |
+
14 Mitsumine Yuika 40
|
134 |
+
15 Sonoda Chiyoko 40
|
135 |
+
16 Serizawa Asahi 39
|
136 |
+
17 Shirase Sakuya 38
|
137 |
+
18 Izumi Mei 35
|
138 |
+
19 Mayuzumi Fuyuko 34
|
139 |
+
20 Asakura Toru 28
|
140 |
+
21 Higuchi Madoka 28
|
141 |
+
22 Ichikawa Hinana 26
|
142 |
+
23 Fukumaru Koito 25
|
143 |
+
24 Nanakusa Nichika 23
|
144 |
+
25 Aketa Mikoto 22
|
145 |
+
26 Ikaruga Luca 4
|
146 |
+
```
|
147 |
+
|
148 |
+
|
149 |
+
Training config (v2.0):
|
150 |
+
```
|
151 |
+
[model_arguments]
|
152 |
+
v2 = false
|
153 |
+
v_parameterization = false
|
154 |
+
pretrained_model_name_or_path = "animefull-final-pruned.ckpt"
|
155 |
+
|
156 |
+
[additional_network_arguments]
|
157 |
+
no_metadata = false
|
158 |
+
network_module = "lycoris.kohya"
|
159 |
+
network_dim = 16
|
160 |
+
network_alpha = 1
|
161 |
+
network_args = [ "conv_dim=0", "algo=loha",]
|
162 |
+
network_train_unet_only = false
|
163 |
+
network_train_text_encoder_only = false
|
164 |
+
cache_latents = false
|
165 |
+
|
166 |
+
[optimizer_arguments]
|
167 |
+
optimizer_type = "AdamW8bit"
|
168 |
+
learning_rate = 0.001
|
169 |
+
max_grad_norm = 1.0
|
170 |
+
lr_scheduler = "custom"
|
171 |
+
|
172 |
+
[dataset_arguments]
|
173 |
+
debug_dataset = false
|
174 |
+
# batch size: 4 x 2
|
175 |
+
# resolution: 640
|
176 |
+
|
177 |
+
[training_arguments]
|
178 |
+
output_name = "shinymas-v2.0"
|
179 |
+
save_precision = "fp16"
|
180 |
+
save_every_n_epochs = 1
|
181 |
+
max_token_length = 225
|
182 |
+
mem_eff_attn = false
|
183 |
+
xformers = true
|
184 |
+
max_train_epochs = 31
|
185 |
+
max_data_loader_n_workers = 0
|
186 |
+
persistent_data_loader_workers = false
|
187 |
+
gradient_checkpointing = false
|
188 |
+
gradient_accumulation_steps = 1
|
189 |
+
mixed_precision = "fp16"
|
190 |
+
clip_skip = 2
|
191 |
+
log_prefix = "shinymas-v2.0"
|
192 |
+
lowram = true
|
193 |
+
|
194 |
+
[sample_prompt_arguments]
|
195 |
+
|
196 |
+
[saving_arguments]
|
197 |
+
save_model_as = "safetensors"
|
198 |
+
```
|
199 |
+
|
200 |
+
v2.1 is tuned from v2.0 with resolution raised to 768, batch size and learning rate halved.
|
201 |
+
|