ksmcg commited on
Commit
4047120
1 Parent(s): 2b82f0c

Upload config

Browse files
Files changed (1) hide show
  1. config.json +4 -16
config.json CHANGED
@@ -1,16 +1,12 @@
1
  {
2
- "_name_or_path": "ksmcg/fan_large_16_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,
11
  "channel_dims": null,
12
  "channels": 256,
13
  "cls_attn_layers": 2,
 
14
  "decoder_hidden_size": 768,
15
  "decoder_params": {
16
  "embed_dim": 768
@@ -57,20 +53,13 @@
57
  3
58
  ],
59
  "initializer_range": 1.0,
60
- "loss_decode": {
61
- "loss_weight": 1.0,
62
- "type": "CrossEntropyLoss",
63
- "use_sigmoid": false
64
- },
65
  "mlp_ratio": 4.0,
66
  "model_type": "fan",
67
- "norm_cfg": {
68
- "requires_grad": true,
69
- "type": "SyncBN"
70
- },
71
  "norm_layer": null,
72
- "num_attention_heads": 10,
73
  "num_classes": 1000,
 
 
74
  "out_index": 18,
75
  "patch_size": 16,
76
  "qkv_bias": true,
@@ -104,7 +93,6 @@
104
  1
105
  ],
106
  "tokens_norm": true,
107
- "torch_dtype": "float32",
108
  "transformers_version": "4.24.0.dev0",
109
  "type": "SegFormerHead",
110
  "use_checkpoint": false,
 
1
  {
 
2
  "act_layer": null,
 
 
 
 
3
  "attn_drop_rate": 0.0,
4
  "backbone": "hybrid",
5
  "c_head_num": null,
6
  "channel_dims": null,
7
  "channels": 256,
8
  "cls_attn_layers": 2,
9
+ "decoder_dropout": 0.1,
10
  "decoder_hidden_size": 768,
11
  "decoder_params": {
12
  "embed_dim": 768
 
53
  3
54
  ],
55
  "initializer_range": 1.0,
 
 
 
 
 
56
  "mlp_ratio": 4.0,
57
  "model_type": "fan",
 
 
 
 
58
  "norm_layer": null,
59
+ "num_attention_heads": 8,
60
  "num_classes": 1000,
61
+ "num_heads": 10,
62
+ "num_hidden_layers": 12,
63
  "out_index": 18,
64
  "patch_size": 16,
65
  "qkv_bias": true,
 
93
  1
94
  ],
95
  "tokens_norm": true,
 
96
  "transformers_version": "4.24.0.dev0",
97
  "type": "SegFormerHead",
98
  "use_checkpoint": false,