Upload config
Browse files- config.json +18 -9
config.json
CHANGED
@@ -1,9 +1,6 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "ksmcg/fan_tiny_8_p4_hybrid",
|
3 |
"act_layer": null,
|
4 |
-
"
|
5 |
-
"FANForImageClassification"
|
6 |
-
],
|
7 |
"attn_drop_rate": 0.0,
|
8 |
"backbone": "hybrid",
|
9 |
"c_head_num": null,
|
@@ -11,6 +8,9 @@
|
|
11 |
"channels": 256,
|
12 |
"cls_attn_layers": 2,
|
13 |
"decoder_hidden_size": 768,
|
|
|
|
|
|
|
14 |
"depth": 8,
|
15 |
"depths": [
|
16 |
3,
|
@@ -42,8 +42,8 @@
|
|
42 |
"in_channels": [
|
43 |
128,
|
44 |
256,
|
45 |
-
|
46 |
-
|
47 |
],
|
48 |
"in_chans": 3,
|
49 |
"in_index": [
|
@@ -53,12 +53,21 @@
|
|
53 |
3
|
54 |
],
|
55 |
"initializer_range": 1.0,
|
|
|
|
|
|
|
|
|
|
|
56 |
"mlp_ratio": 4.0,
|
57 |
"model_type": "fan",
|
|
|
|
|
|
|
|
|
58 |
"norm_layer": null,
|
59 |
-
"num_classes":
|
60 |
"num_heads": 8,
|
61 |
-
"out_index":
|
62 |
"patch_size": 16,
|
63 |
"qkv_bias": true,
|
64 |
"reshape_last_stage": false,
|
@@ -77,8 +86,8 @@
|
|
77 |
1
|
78 |
],
|
79 |
"tokens_norm": true,
|
80 |
-
"torch_dtype": "float32",
|
81 |
"transformers_version": "4.22.0.dev0",
|
|
|
82 |
"use_checkpoint": false,
|
83 |
"use_head": false,
|
84 |
"use_pos_embed": true
|
|
|
1 |
{
|
|
|
2 |
"act_layer": null,
|
3 |
+
"align_corners": false,
|
|
|
|
|
4 |
"attn_drop_rate": 0.0,
|
5 |
"backbone": "hybrid",
|
6 |
"c_head_num": null,
|
|
|
8 |
"channels": 256,
|
9 |
"cls_attn_layers": 2,
|
10 |
"decoder_hidden_size": 768,
|
11 |
+
"decoder_params": {
|
12 |
+
"embed_dim": 768
|
13 |
+
},
|
14 |
"depth": 8,
|
15 |
"depths": [
|
16 |
3,
|
|
|
42 |
"in_channels": [
|
43 |
128,
|
44 |
256,
|
45 |
+
192,
|
46 |
+
192
|
47 |
],
|
48 |
"in_chans": 3,
|
49 |
"in_index": [
|
|
|
53 |
3
|
54 |
],
|
55 |
"initializer_range": 1.0,
|
56 |
+
"loss_decode": {
|
57 |
+
"loss_weight": 1.0,
|
58 |
+
"type": "CrossEntropyLoss",
|
59 |
+
"use_sigmoid": false
|
60 |
+
},
|
61 |
"mlp_ratio": 4.0,
|
62 |
"model_type": "fan",
|
63 |
+
"norm_cfg": {
|
64 |
+
"requires_grad": true,
|
65 |
+
"type": "SyncBN"
|
66 |
+
},
|
67 |
"norm_layer": null,
|
68 |
+
"num_classes": 19,
|
69 |
"num_heads": 8,
|
70 |
+
"out_index": 7,
|
71 |
"patch_size": 16,
|
72 |
"qkv_bias": true,
|
73 |
"reshape_last_stage": false,
|
|
|
86 |
1
|
87 |
],
|
88 |
"tokens_norm": true,
|
|
|
89 |
"transformers_version": "4.22.0.dev0",
|
90 |
+
"type": "SegFormerHead",
|
91 |
"use_checkpoint": false,
|
92 |
"use_head": false,
|
93 |
"use_pos_embed": true
|