nielsr HF staff commited on
Commit
fbfdfbc
1 Parent(s): 5ec2c2f

First commit

Browse files
Files changed (3) hide show
  1. config.json +370 -0
  2. preprocessor_config.json +22 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,370 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SegFormerForImageSegmentation"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "classifier_dropout_prob": 0.1,
7
+ "decoder_hidden_size": 256,
8
+ "depths": [
9
+ 2,
10
+ 2,
11
+ 2,
12
+ 2
13
+ ],
14
+ "downsampling_rates": [
15
+ 1,
16
+ 4,
17
+ 8,
18
+ 16
19
+ ],
20
+ "drop_path_rate": 0.1,
21
+ "hidden_act": "gelu",
22
+ "hidden_dropout_prob": 0.0,
23
+ "hidden_sizes": [
24
+ 32,
25
+ 64,
26
+ 160,
27
+ 256
28
+ ],
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1",
32
+ "2": "LABEL_2",
33
+ "3": "LABEL_3",
34
+ "4": "LABEL_4",
35
+ "5": "LABEL_5",
36
+ "6": "LABEL_6",
37
+ "7": "LABEL_7",
38
+ "8": "LABEL_8",
39
+ "9": "LABEL_9",
40
+ "10": "LABEL_10",
41
+ "11": "LABEL_11",
42
+ "12": "LABEL_12",
43
+ "13": "LABEL_13",
44
+ "14": "LABEL_14",
45
+ "15": "LABEL_15",
46
+ "16": "LABEL_16",
47
+ "17": "LABEL_17",
48
+ "18": "LABEL_18",
49
+ "19": "LABEL_19",
50
+ "20": "LABEL_20",
51
+ "21": "LABEL_21",
52
+ "22": "LABEL_22",
53
+ "23": "LABEL_23",
54
+ "24": "LABEL_24",
55
+ "25": "LABEL_25",
56
+ "26": "LABEL_26",
57
+ "27": "LABEL_27",
58
+ "28": "LABEL_28",
59
+ "29": "LABEL_29",
60
+ "30": "LABEL_30",
61
+ "31": "LABEL_31",
62
+ "32": "LABEL_32",
63
+ "33": "LABEL_33",
64
+ "34": "LABEL_34",
65
+ "35": "LABEL_35",
66
+ "36": "LABEL_36",
67
+ "37": "LABEL_37",
68
+ "38": "LABEL_38",
69
+ "39": "LABEL_39",
70
+ "40": "LABEL_40",
71
+ "41": "LABEL_41",
72
+ "42": "LABEL_42",
73
+ "43": "LABEL_43",
74
+ "44": "LABEL_44",
75
+ "45": "LABEL_45",
76
+ "46": "LABEL_46",
77
+ "47": "LABEL_47",
78
+ "48": "LABEL_48",
79
+ "49": "LABEL_49",
80
+ "50": "LABEL_50",
81
+ "51": "LABEL_51",
82
+ "52": "LABEL_52",
83
+ "53": "LABEL_53",
84
+ "54": "LABEL_54",
85
+ "55": "LABEL_55",
86
+ "56": "LABEL_56",
87
+ "57": "LABEL_57",
88
+ "58": "LABEL_58",
89
+ "59": "LABEL_59",
90
+ "60": "LABEL_60",
91
+ "61": "LABEL_61",
92
+ "62": "LABEL_62",
93
+ "63": "LABEL_63",
94
+ "64": "LABEL_64",
95
+ "65": "LABEL_65",
96
+ "66": "LABEL_66",
97
+ "67": "LABEL_67",
98
+ "68": "LABEL_68",
99
+ "69": "LABEL_69",
100
+ "70": "LABEL_70",
101
+ "71": "LABEL_71",
102
+ "72": "LABEL_72",
103
+ "73": "LABEL_73",
104
+ "74": "LABEL_74",
105
+ "75": "LABEL_75",
106
+ "76": "LABEL_76",
107
+ "77": "LABEL_77",
108
+ "78": "LABEL_78",
109
+ "79": "LABEL_79",
110
+ "80": "LABEL_80",
111
+ "81": "LABEL_81",
112
+ "82": "LABEL_82",
113
+ "83": "LABEL_83",
114
+ "84": "LABEL_84",
115
+ "85": "LABEL_85",
116
+ "86": "LABEL_86",
117
+ "87": "LABEL_87",
118
+ "88": "LABEL_88",
119
+ "89": "LABEL_89",
120
+ "90": "LABEL_90",
121
+ "91": "LABEL_91",
122
+ "92": "LABEL_92",
123
+ "93": "LABEL_93",
124
+ "94": "LABEL_94",
125
+ "95": "LABEL_95",
126
+ "96": "LABEL_96",
127
+ "97": "LABEL_97",
128
+ "98": "LABEL_98",
129
+ "99": "LABEL_99",
130
+ "100": "LABEL_100",
131
+ "101": "LABEL_101",
132
+ "102": "LABEL_102",
133
+ "103": "LABEL_103",
134
+ "104": "LABEL_104",
135
+ "105": "LABEL_105",
136
+ "106": "LABEL_106",
137
+ "107": "LABEL_107",
138
+ "108": "LABEL_108",
139
+ "109": "LABEL_109",
140
+ "110": "LABEL_110",
141
+ "111": "LABEL_111",
142
+ "112": "LABEL_112",
143
+ "113": "LABEL_113",
144
+ "114": "LABEL_114",
145
+ "115": "LABEL_115",
146
+ "116": "LABEL_116",
147
+ "117": "LABEL_117",
148
+ "118": "LABEL_118",
149
+ "119": "LABEL_119",
150
+ "120": "LABEL_120",
151
+ "121": "LABEL_121",
152
+ "122": "LABEL_122",
153
+ "123": "LABEL_123",
154
+ "124": "LABEL_124",
155
+ "125": "LABEL_125",
156
+ "126": "LABEL_126",
157
+ "127": "LABEL_127",
158
+ "128": "LABEL_128",
159
+ "129": "LABEL_129",
160
+ "130": "LABEL_130",
161
+ "131": "LABEL_131",
162
+ "132": "LABEL_132",
163
+ "133": "LABEL_133",
164
+ "134": "LABEL_134",
165
+ "135": "LABEL_135",
166
+ "136": "LABEL_136",
167
+ "137": "LABEL_137",
168
+ "138": "LABEL_138",
169
+ "139": "LABEL_139",
170
+ "140": "LABEL_140",
171
+ "141": "LABEL_141",
172
+ "142": "LABEL_142",
173
+ "143": "LABEL_143",
174
+ "144": "LABEL_144",
175
+ "145": "LABEL_145",
176
+ "146": "LABEL_146",
177
+ "147": "LABEL_147",
178
+ "148": "LABEL_148",
179
+ "149": "LABEL_149"
180
+ },
181
+ "image_size": 224,
182
+ "initializer_range": 0.02,
183
+ "label2id": {
184
+ "LABEL_0": 0,
185
+ "LABEL_1": 1,
186
+ "LABEL_10": 10,
187
+ "LABEL_100": 100,
188
+ "LABEL_101": 101,
189
+ "LABEL_102": 102,
190
+ "LABEL_103": 103,
191
+ "LABEL_104": 104,
192
+ "LABEL_105": 105,
193
+ "LABEL_106": 106,
194
+ "LABEL_107": 107,
195
+ "LABEL_108": 108,
196
+ "LABEL_109": 109,
197
+ "LABEL_11": 11,
198
+ "LABEL_110": 110,
199
+ "LABEL_111": 111,
200
+ "LABEL_112": 112,
201
+ "LABEL_113": 113,
202
+ "LABEL_114": 114,
203
+ "LABEL_115": 115,
204
+ "LABEL_116": 116,
205
+ "LABEL_117": 117,
206
+ "LABEL_118": 118,
207
+ "LABEL_119": 119,
208
+ "LABEL_12": 12,
209
+ "LABEL_120": 120,
210
+ "LABEL_121": 121,
211
+ "LABEL_122": 122,
212
+ "LABEL_123": 123,
213
+ "LABEL_124": 124,
214
+ "LABEL_125": 125,
215
+ "LABEL_126": 126,
216
+ "LABEL_127": 127,
217
+ "LABEL_128": 128,
218
+ "LABEL_129": 129,
219
+ "LABEL_13": 13,
220
+ "LABEL_130": 130,
221
+ "LABEL_131": 131,
222
+ "LABEL_132": 132,
223
+ "LABEL_133": 133,
224
+ "LABEL_134": 134,
225
+ "LABEL_135": 135,
226
+ "LABEL_136": 136,
227
+ "LABEL_137": 137,
228
+ "LABEL_138": 138,
229
+ "LABEL_139": 139,
230
+ "LABEL_14": 14,
231
+ "LABEL_140": 140,
232
+ "LABEL_141": 141,
233
+ "LABEL_142": 142,
234
+ "LABEL_143": 143,
235
+ "LABEL_144": 144,
236
+ "LABEL_145": 145,
237
+ "LABEL_146": 146,
238
+ "LABEL_147": 147,
239
+ "LABEL_148": 148,
240
+ "LABEL_149": 149,
241
+ "LABEL_15": 15,
242
+ "LABEL_16": 16,
243
+ "LABEL_17": 17,
244
+ "LABEL_18": 18,
245
+ "LABEL_19": 19,
246
+ "LABEL_2": 2,
247
+ "LABEL_20": 20,
248
+ "LABEL_21": 21,
249
+ "LABEL_22": 22,
250
+ "LABEL_23": 23,
251
+ "LABEL_24": 24,
252
+ "LABEL_25": 25,
253
+ "LABEL_26": 26,
254
+ "LABEL_27": 27,
255
+ "LABEL_28": 28,
256
+ "LABEL_29": 29,
257
+ "LABEL_3": 3,
258
+ "LABEL_30": 30,
259
+ "LABEL_31": 31,
260
+ "LABEL_32": 32,
261
+ "LABEL_33": 33,
262
+ "LABEL_34": 34,
263
+ "LABEL_35": 35,
264
+ "LABEL_36": 36,
265
+ "LABEL_37": 37,
266
+ "LABEL_38": 38,
267
+ "LABEL_39": 39,
268
+ "LABEL_4": 4,
269
+ "LABEL_40": 40,
270
+ "LABEL_41": 41,
271
+ "LABEL_42": 42,
272
+ "LABEL_43": 43,
273
+ "LABEL_44": 44,
274
+ "LABEL_45": 45,
275
+ "LABEL_46": 46,
276
+ "LABEL_47": 47,
277
+ "LABEL_48": 48,
278
+ "LABEL_49": 49,
279
+ "LABEL_5": 5,
280
+ "LABEL_50": 50,
281
+ "LABEL_51": 51,
282
+ "LABEL_52": 52,
283
+ "LABEL_53": 53,
284
+ "LABEL_54": 54,
285
+ "LABEL_55": 55,
286
+ "LABEL_56": 56,
287
+ "LABEL_57": 57,
288
+ "LABEL_58": 58,
289
+ "LABEL_59": 59,
290
+ "LABEL_6": 6,
291
+ "LABEL_60": 60,
292
+ "LABEL_61": 61,
293
+ "LABEL_62": 62,
294
+ "LABEL_63": 63,
295
+ "LABEL_64": 64,
296
+ "LABEL_65": 65,
297
+ "LABEL_66": 66,
298
+ "LABEL_67": 67,
299
+ "LABEL_68": 68,
300
+ "LABEL_69": 69,
301
+ "LABEL_7": 7,
302
+ "LABEL_70": 70,
303
+ "LABEL_71": 71,
304
+ "LABEL_72": 72,
305
+ "LABEL_73": 73,
306
+ "LABEL_74": 74,
307
+ "LABEL_75": 75,
308
+ "LABEL_76": 76,
309
+ "LABEL_77": 77,
310
+ "LABEL_78": 78,
311
+ "LABEL_79": 79,
312
+ "LABEL_8": 8,
313
+ "LABEL_80": 80,
314
+ "LABEL_81": 81,
315
+ "LABEL_82": 82,
316
+ "LABEL_83": 83,
317
+ "LABEL_84": 84,
318
+ "LABEL_85": 85,
319
+ "LABEL_86": 86,
320
+ "LABEL_87": 87,
321
+ "LABEL_88": 88,
322
+ "LABEL_89": 89,
323
+ "LABEL_9": 9,
324
+ "LABEL_90": 90,
325
+ "LABEL_91": 91,
326
+ "LABEL_92": 92,
327
+ "LABEL_93": 93,
328
+ "LABEL_94": 94,
329
+ "LABEL_95": 95,
330
+ "LABEL_96": 96,
331
+ "LABEL_97": 97,
332
+ "LABEL_98": 98,
333
+ "LABEL_99": 99
334
+ },
335
+ "layer_norm_eps": 1e-06,
336
+ "mlp_ratios": [
337
+ 4,
338
+ 4,
339
+ 4,
340
+ 4
341
+ ],
342
+ "model_type": "segformer",
343
+ "num_attention_heads": [
344
+ 1,
345
+ 2,
346
+ 5,
347
+ 8
348
+ ],
349
+ "num_channels": 3,
350
+ "num_encoder_blocks": 4,
351
+ "patch_sizes": [
352
+ 7,
353
+ 3,
354
+ 3,
355
+ 3
356
+ ],
357
+ "sr_ratios": [
358
+ 8,
359
+ 4,
360
+ 2,
361
+ 1
362
+ ],
363
+ "strides": [
364
+ 4,
365
+ 2,
366
+ 2,
367
+ 2
368
+ ],
369
+ "transformers_version": "4.9.0.dev0"
370
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "SegFormerFeatureExtractor",
5
+ "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
+ ],
10
+ "image_scale": [
11
+ 2048,
12
+ 512
13
+ ],
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "keep_ratio": true,
20
+ "resample": 2,
21
+ "size_divisor": 32
22
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f9993d65731c081d1830c7c01254ee6af2b8d062b4b539bd1f18051cac13c83
3
+ size 15096815