Upload config
Browse files- config.json +3 -15
config.json
CHANGED
@@ -1,10 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "ksmcg/fan_small_12_p4_hybrid",
|
3 |
"act_layer": null,
|
4 |
-
"align_corners": false,
|
5 |
-
"architectures": [
|
6 |
-
"FANForImageClassification"
|
7 |
-
],
|
8 |
"attn_drop_rate": 0.0,
|
9 |
"backbone": "hybrid",
|
10 |
"c_head_num": null,
|
@@ -22,6 +17,7 @@
|
|
22 |
],
|
23 |
"channels": 256,
|
24 |
"cls_attn_layers": 2,
|
|
|
25 |
"decoder_hidden_size": 768,
|
26 |
"decoder_params": {
|
27 |
"embed_dim": 768
|
@@ -68,20 +64,13 @@
|
|
68 |
3
|
69 |
],
|
70 |
"initializer_range": 1.0,
|
71 |
-
"loss_decode": {
|
72 |
-
"loss_weight": 1.0,
|
73 |
-
"type": "CrossEntropyLoss",
|
74 |
-
"use_sigmoid": false
|
75 |
-
},
|
76 |
"mlp_ratio": 4.0,
|
77 |
"model_type": "fan",
|
78 |
-
"norm_cfg": {
|
79 |
-
"requires_grad": true,
|
80 |
-
"type": "SyncBN"
|
81 |
-
},
|
82 |
"norm_layer": null,
|
83 |
"num_attention_heads": 8,
|
84 |
"num_classes": 1000,
|
|
|
|
|
85 |
"out_index": 9,
|
86 |
"patch_size": 16,
|
87 |
"qkv_bias": true,
|
@@ -103,7 +92,6 @@
|
|
103 |
1
|
104 |
],
|
105 |
"tokens_norm": true,
|
106 |
-
"torch_dtype": "float32",
|
107 |
"transformers_version": "4.24.0.dev0",
|
108 |
"type": "SegFormerHead",
|
109 |
"use_checkpoint": false,
|
|
|
1 |
{
|
|
|
2 |
"act_layer": null,
|
|
|
|
|
|
|
|
|
3 |
"attn_drop_rate": 0.0,
|
4 |
"backbone": "hybrid",
|
5 |
"c_head_num": null,
|
|
|
17 |
],
|
18 |
"channels": 256,
|
19 |
"cls_attn_layers": 2,
|
20 |
+
"decoder_dropout": 0.1,
|
21 |
"decoder_hidden_size": 768,
|
22 |
"decoder_params": {
|
23 |
"embed_dim": 768
|
|
|
64 |
3
|
65 |
],
|
66 |
"initializer_range": 1.0,
|
|
|
|
|
|
|
|
|
|
|
67 |
"mlp_ratio": 4.0,
|
68 |
"model_type": "fan",
|
|
|
|
|
|
|
|
|
69 |
"norm_layer": null,
|
70 |
"num_attention_heads": 8,
|
71 |
"num_classes": 1000,
|
72 |
+
"num_heads": 8,
|
73 |
+
"num_hidden_layers": 12,
|
74 |
"out_index": 9,
|
75 |
"patch_size": 16,
|
76 |
"qkv_bias": true,
|
|
|
92 |
1
|
93 |
],
|
94 |
"tokens_norm": true,
|
|
|
95 |
"transformers_version": "4.24.0.dev0",
|
96 |
"type": "SegFormerHead",
|
97 |
"use_checkpoint": false,
|