Update config.json
Browse files- config.json +53 -7
config.json
CHANGED
@@ -1,11 +1,57 @@
|
|
1 |
-
|
2 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"id2label": {
|
4 |
-
"0": "
|
5 |
-
"1": "
|
6 |
-
"2": "
|
7 |
-
"3": "
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
}
|
11 |
|
|
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"Swinv2ForImageClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"depths": [
|
7 |
+
2,
|
8 |
+
2,
|
9 |
+
18,
|
10 |
+
2
|
11 |
+
],
|
12 |
+
"drop_path_rate": 0.1,
|
13 |
+
"embed_dim": 128,
|
14 |
+
"encoder_stride": 32,
|
15 |
+
"hidden_act": "gelu",
|
16 |
+
"hidden_dropout_prob": 0.0,
|
17 |
+
"hidden_size": 768,
|
18 |
"id2label": {
|
19 |
+
"0": "CLS0",
|
20 |
+
"1": "CLS1",
|
21 |
+
"2": "CLS2",
|
22 |
+
"3": "CLS3"
|
23 |
+
},
|
24 |
+
"image_size": 256,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"label2id": {
|
27 |
+
"CLS0": 0,
|
28 |
+
"CLS1": 1,
|
29 |
+
"CLS2": 2,
|
30 |
+
"CLS3": 3
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-05,
|
33 |
+
"mlp_ratio": 4.0,
|
34 |
+
"model_type": "swinv2",
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_heads": [
|
37 |
+
4,
|
38 |
+
8,
|
39 |
+
16,
|
40 |
+
32
|
41 |
+
],
|
42 |
+
"num_layers": 4,
|
43 |
+
"patch_size": 4,
|
44 |
+
"path_norm": true,
|
45 |
+
"pretrained_window_sizes": [
|
46 |
+
0,
|
47 |
+
0,
|
48 |
+
0,
|
49 |
+
0
|
50 |
+
],
|
51 |
+
"qkv_bias": true,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.21.0.dev0",
|
54 |
+
"use_absolute_embeddings": false,
|
55 |
+
"window_size": 8
|
56 |
}
|
57 |
|