File size: 1,730 Bytes
06d566b
6c51423
06d566b
65b775a
6c51423
 
 
06d566b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65b775a
 
 
06d566b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65b775a
 
06d566b
 
 
 
 
 
 
 
 
65b775a
 
 
 
 
06d566b
 
65b775a
 
 
 
06d566b
e3a328d
06d566b
65b775a
06d566b
 
 
 
 
e7701e5
06d566b
 
 
 
 
 
 
 
 
 
 
 
 
 
6c51423
 
65b775a
06d566b
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
  "_name_or_path": "ksmcg/fan_small_12_p4_hybrid",
  "act_layer": null,
  "align_corners": false,
  "architectures": [
    "FANForImageClassification"
  ],
  "attn_drop_rate": 0.0,
  "backbone": "hybrid",
  "c_head_num": null,
  "channel_dims": [
    384,
    384,
    384,
    384,
    384,
    384,
    384,
    384,
    384,
    384
  ],
  "channels": 256,
  "cls_attn_layers": 2,
  "decoder_hidden_size": 768,
  "decoder_params": {
    "embed_dim": 768
  },
  "depth": 10,
  "depths": [
    3,
    3
  ],
  "dims": [
    128,
    256,
    512,
    1024
  ],
  "drop_path_rate": 0.0,
  "drop_rate": 0.0,
  "dropout_ratio": 0.1,
  "embed_dim": 384,
  "eta": 1.0,
  "feat_downsample": false,
  "feature_strides": [
    4,
    8,
    16,
    32
  ],
  "hybrid_patch_size": 2,
  "img_size": [
    224,
    224
  ],
  "in_channels": [
    128,
    256,
    384,
    384
  ],
  "in_chans": 3,
  "in_index": [
    0,
    1,
    2,
    3
  ],
  "initializer_range": 1.0,
  "loss_decode": {
    "loss_weight": 1.0,
    "type": "CrossEntropyLoss",
    "use_sigmoid": false
  },
  "mlp_ratio": 4.0,
  "model_type": "fan",
  "norm_cfg": {
    "requires_grad": true,
    "type": "SyncBN"
  },
  "norm_layer": null,
  "num_classes": 1000,
  "num_heads": 8,
  "out_index": 9,
  "patch_size": 16,
  "qkv_bias": true,
  "reshape_last_stage": false,
  "rounding_mode": "floor",
  "se_mlp": false,
  "semantic_loss_ignore_index": -100,
  "sharpen_attn": false,
  "sr_ratio": [
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1
  ],
  "tokens_norm": true,
  "torch_dtype": "float32",
  "transformers_version": "4.23.0.dev0",
  "type": "SegFormerHead",
  "use_checkpoint": false,
  "use_head": false,
  "use_pos_embed": true
}