ksmcg commited on
Commit
65b775a
1 Parent(s): 3d41e79

Upload config

Browse files
Files changed (1) hide show
  1. config.json +18 -9
config.json CHANGED
@@ -1,9 +1,6 @@
1
  {
2
- "_name_or_path": "ksmcg/fan_small_12_p4_hybrid",
3
  "act_layer": null,
4
- "architectures": [
5
- "FANForImageClassification"
6
- ],
7
  "attn_drop_rate": 0.0,
8
  "backbone": "hybrid",
9
  "c_head_num": null,
@@ -22,6 +19,9 @@
22
  "channels": 256,
23
  "cls_attn_layers": 2,
24
  "decoder_hidden_size": 768,
 
 
 
25
  "depth": 10,
26
  "depths": [
27
  3,
@@ -53,8 +53,8 @@
53
  "in_channels": [
54
  128,
55
  256,
56
- 480,
57
- 480
58
  ],
59
  "in_chans": 3,
60
  "in_index": [
@@ -64,12 +64,21 @@
64
  3
65
  ],
66
  "initializer_range": 1.0,
 
 
 
 
 
67
  "mlp_ratio": 4.0,
68
  "model_type": "fan",
 
 
 
 
69
  "norm_layer": null,
70
- "num_classes": 1000,
71
  "num_heads": 8,
72
- "out_index": -1,
73
  "patch_size": 16,
74
  "qkv_bias": true,
75
  "reshape_last_stage": false,
@@ -89,8 +98,8 @@
89
  1
90
  ],
91
  "tokens_norm": true,
92
- "torch_dtype": "float32",
93
  "transformers_version": "4.22.0.dev0",
 
94
  "use_checkpoint": false,
95
  "use_head": false,
96
  "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,
 
19
  "channels": 256,
20
  "cls_attn_layers": 2,
21
  "decoder_hidden_size": 768,
22
+ "decoder_params": {
23
+ "embed_dim": 768
24
+ },
25
  "depth": 10,
26
  "depths": [
27
  3,
 
53
  "in_channels": [
54
  128,
55
  256,
56
+ 384,
57
+ 384
58
  ],
59
  "in_chans": 3,
60
  "in_index": [
 
64
  3
65
  ],
66
  "initializer_range": 1.0,
67
+ "loss_decode": {
68
+ "loss_weight": 1.0,
69
+ "type": "CrossEntropyLoss",
70
+ "use_sigmoid": false
71
+ },
72
  "mlp_ratio": 4.0,
73
  "model_type": "fan",
74
+ "norm_cfg": {
75
+ "requires_grad": true,
76
+ "type": "SyncBN"
77
+ },
78
  "norm_layer": null,
79
+ "num_classes": 19,
80
  "num_heads": 8,
81
+ "out_index": 9,
82
  "patch_size": 16,
83
  "qkv_bias": true,
84
  "reshape_last_stage": false,
 
98
  1
99
  ],
100
  "tokens_norm": true,
 
101
  "transformers_version": "4.22.0.dev0",
102
+ "type": "SegFormerHead",
103
  "use_checkpoint": false,
104
  "use_head": false,
105
  "use_pos_embed": true