parsee-mizuhashi
commited on
Commit
•
3949553
1
Parent(s):
32d7beb
Upload config_weebshit.json
Browse files- config_weebshit.json +47 -0
config_weebshit.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": {
|
3 |
+
"type": "image_transformer_v2",
|
4 |
+
"input_channels": 3,
|
5 |
+
"input_size": [256, 256],
|
6 |
+
"patch_size": [8, 8],
|
7 |
+
"depths": [4, 4, 8],
|
8 |
+
"widths": [512, 1024, 2048],
|
9 |
+
"self_attns": [
|
10 |
+
{"type": "neighborhood", "d_head": 64, "kernel_size": 9},
|
11 |
+
{"type": "neighborhood", "d_head": 64, "kernel_size": 9},
|
12 |
+
{"type": "global", "d_head": 64}
|
13 |
+
],
|
14 |
+
"loss_config": "karras",
|
15 |
+
"loss_weighting": "soft-min-snr",
|
16 |
+
"dropout_rate": [0.0, 0.0, 0.1],
|
17 |
+
"mapping_dropout_rate": 0.0,
|
18 |
+
"augment_prob": 0.0,
|
19 |
+
"sigma_data": 0.5,
|
20 |
+
"sigma_min": 1e-2,
|
21 |
+
"sigma_max": 160,
|
22 |
+
"sigma_sample_density": {
|
23 |
+
"type": "cosine-interpolated"
|
24 |
+
}
|
25 |
+
},
|
26 |
+
"dataset": {
|
27 |
+
"type": "huggingface",
|
28 |
+
"location": "woctordho/img-256-danbooru",
|
29 |
+
"image_key": "image"
|
30 |
+
},
|
31 |
+
"optimizer": {
|
32 |
+
"type": "adam8bit",
|
33 |
+
"lr": 5e-4,
|
34 |
+
"betas": [0.9, 0.95],
|
35 |
+
"eps": 1e-8,
|
36 |
+
"weight_decay": 1e-3
|
37 |
+
},
|
38 |
+
"lr_sched": {
|
39 |
+
"type": "constant",
|
40 |
+
"warmup": 0.0
|
41 |
+
},
|
42 |
+
"ema_sched": {
|
43 |
+
"type": "inverse",
|
44 |
+
"power": 0.75,
|
45 |
+
"max_value": 0.9999
|
46 |
+
}
|
47 |
+
}
|