nielsr HF staff commited on
Commit
721ebc3
1 Parent(s): 5ba6fb2

Add auxiliary head

Browse files
Files changed (3) hide show
  1. config.json +349 -0
  2. preprocessor_config.json +19 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BeitForSemanticSegmentation"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "channels": 256,
7
+ "concat_input": false,
8
+ "drop_path_rate": 0.1,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "wall",
14
+ "1": "building",
15
+ "2": "sky",
16
+ "3": "floor",
17
+ "4": "tree",
18
+ "5": "ceiling",
19
+ "6": "road",
20
+ "7": "bed ",
21
+ "8": "windowpane",
22
+ "9": "grass",
23
+ "10": "cabinet",
24
+ "11": "sidewalk",
25
+ "12": "person",
26
+ "13": "earth",
27
+ "14": "door",
28
+ "15": "table",
29
+ "16": "mountain",
30
+ "17": "plant",
31
+ "18": "curtain",
32
+ "19": "chair",
33
+ "20": "car",
34
+ "21": "water",
35
+ "22": "painting",
36
+ "23": "sofa",
37
+ "24": "shelf",
38
+ "25": "house",
39
+ "26": "sea",
40
+ "27": "mirror",
41
+ "28": "rug",
42
+ "29": "field",
43
+ "30": "armchair",
44
+ "31": "seat",
45
+ "32": "fence",
46
+ "33": "desk",
47
+ "34": "rock",
48
+ "35": "wardrobe",
49
+ "36": "lamp",
50
+ "37": "bathtub",
51
+ "38": "railing",
52
+ "39": "cushion",
53
+ "40": "base",
54
+ "41": "box",
55
+ "42": "column",
56
+ "43": "signboard",
57
+ "44": "chest of drawers",
58
+ "45": "counter",
59
+ "46": "sand",
60
+ "47": "sink",
61
+ "48": "skyscraper",
62
+ "49": "fireplace",
63
+ "50": "refrigerator",
64
+ "51": "grandstand",
65
+ "52": "path",
66
+ "53": "stairs",
67
+ "54": "runway",
68
+ "55": "case",
69
+ "56": "pool table",
70
+ "57": "pillow",
71
+ "58": "screen door",
72
+ "59": "stairway",
73
+ "60": "river",
74
+ "61": "bridge",
75
+ "62": "bookcase",
76
+ "63": "blind",
77
+ "64": "coffee table",
78
+ "65": "toilet",
79
+ "66": "flower",
80
+ "67": "book",
81
+ "68": "hill",
82
+ "69": "bench",
83
+ "70": "countertop",
84
+ "71": "stove",
85
+ "72": "palm",
86
+ "73": "kitchen island",
87
+ "74": "computer",
88
+ "75": "swivel chair",
89
+ "76": "boat",
90
+ "77": "bar",
91
+ "78": "arcade machine",
92
+ "79": "hovel",
93
+ "80": "bus",
94
+ "81": "towel",
95
+ "82": "light",
96
+ "83": "truck",
97
+ "84": "tower",
98
+ "85": "chandelier",
99
+ "86": "awning",
100
+ "87": "streetlight",
101
+ "88": "booth",
102
+ "89": "television receiver",
103
+ "90": "airplane",
104
+ "91": "dirt track",
105
+ "92": "apparel",
106
+ "93": "pole",
107
+ "94": "land",
108
+ "95": "bannister",
109
+ "96": "escalator",
110
+ "97": "ottoman",
111
+ "98": "bottle",
112
+ "99": "buffet",
113
+ "100": "poster",
114
+ "101": "stage",
115
+ "102": "van",
116
+ "103": "ship",
117
+ "104": "fountain",
118
+ "105": "conveyer belt",
119
+ "106": "canopy",
120
+ "107": "washer",
121
+ "108": "plaything",
122
+ "109": "swimming pool",
123
+ "110": "stool",
124
+ "111": "barrel",
125
+ "112": "basket",
126
+ "113": "waterfall",
127
+ "114": "tent",
128
+ "115": "bag",
129
+ "116": "minibike",
130
+ "117": "cradle",
131
+ "118": "oven",
132
+ "119": "ball",
133
+ "120": "food",
134
+ "121": "step",
135
+ "122": "tank",
136
+ "123": "trade name",
137
+ "124": "microwave",
138
+ "125": "pot",
139
+ "126": "animal",
140
+ "127": "bicycle",
141
+ "128": "lake",
142
+ "129": "dishwasher",
143
+ "130": "screen",
144
+ "131": "blanket",
145
+ "132": "sculpture",
146
+ "133": "hood",
147
+ "134": "sconce",
148
+ "135": "vase",
149
+ "136": "traffic light",
150
+ "137": "tray",
151
+ "138": "ashcan",
152
+ "139": "fan",
153
+ "140": "pier",
154
+ "141": "crt screen",
155
+ "142": "plate",
156
+ "143": "monitor",
157
+ "144": "bulletin board",
158
+ "145": "shower",
159
+ "146": "radiator",
160
+ "147": "glass",
161
+ "148": "clock",
162
+ "149": "flag"
163
+ },
164
+ "image_size": 640,
165
+ "initializer_range": 0.02,
166
+ "intermediate_size": 3072,
167
+ "label2id": {
168
+ "airplane": 90,
169
+ "animal": 126,
170
+ "apparel": 92,
171
+ "arcade machine": 78,
172
+ "armchair": 30,
173
+ "ashcan": 138,
174
+ "awning": 86,
175
+ "bag": 115,
176
+ "ball": 119,
177
+ "bannister": 95,
178
+ "bar": 77,
179
+ "barrel": 111,
180
+ "base": 40,
181
+ "basket": 112,
182
+ "bathtub": 37,
183
+ "bed ": 7,
184
+ "bench": 69,
185
+ "bicycle": 127,
186
+ "blanket": 131,
187
+ "blind": 63,
188
+ "boat": 76,
189
+ "book": 67,
190
+ "bookcase": 62,
191
+ "booth": 88,
192
+ "bottle": 98,
193
+ "box": 41,
194
+ "bridge": 61,
195
+ "buffet": 99,
196
+ "building": 1,
197
+ "bulletin board": 144,
198
+ "bus": 80,
199
+ "cabinet": 10,
200
+ "canopy": 106,
201
+ "car": 20,
202
+ "case": 55,
203
+ "ceiling": 5,
204
+ "chair": 19,
205
+ "chandelier": 85,
206
+ "chest of drawers": 44,
207
+ "clock": 148,
208
+ "coffee table": 64,
209
+ "column": 42,
210
+ "computer": 74,
211
+ "conveyer belt": 105,
212
+ "counter": 45,
213
+ "countertop": 70,
214
+ "cradle": 117,
215
+ "crt screen": 141,
216
+ "curtain": 18,
217
+ "cushion": 39,
218
+ "desk": 33,
219
+ "dirt track": 91,
220
+ "dishwasher": 129,
221
+ "door": 14,
222
+ "earth": 13,
223
+ "escalator": 96,
224
+ "fan": 139,
225
+ "fence": 32,
226
+ "field": 29,
227
+ "fireplace": 49,
228
+ "flag": 149,
229
+ "floor": 3,
230
+ "flower": 66,
231
+ "food": 120,
232
+ "fountain": 104,
233
+ "glass": 147,
234
+ "grandstand": 51,
235
+ "grass": 9,
236
+ "hill": 68,
237
+ "hood": 133,
238
+ "house": 25,
239
+ "hovel": 79,
240
+ "kitchen island": 73,
241
+ "lake": 128,
242
+ "lamp": 36,
243
+ "land": 94,
244
+ "light": 82,
245
+ "microwave": 124,
246
+ "minibike": 116,
247
+ "mirror": 27,
248
+ "monitor": 143,
249
+ "mountain": 16,
250
+ "ottoman": 97,
251
+ "oven": 118,
252
+ "painting": 22,
253
+ "palm": 72,
254
+ "path": 52,
255
+ "person": 12,
256
+ "pier": 140,
257
+ "pillow": 57,
258
+ "plant": 17,
259
+ "plate": 142,
260
+ "plaything": 108,
261
+ "pole": 93,
262
+ "pool table": 56,
263
+ "poster": 100,
264
+ "pot": 125,
265
+ "radiator": 146,
266
+ "railing": 38,
267
+ "refrigerator": 50,
268
+ "river": 60,
269
+ "road": 6,
270
+ "rock": 34,
271
+ "rug": 28,
272
+ "runway": 54,
273
+ "sand": 46,
274
+ "sconce": 134,
275
+ "screen": 130,
276
+ "screen door": 58,
277
+ "sculpture": 132,
278
+ "sea": 26,
279
+ "seat": 31,
280
+ "shelf": 24,
281
+ "ship": 103,
282
+ "shower": 145,
283
+ "sidewalk": 11,
284
+ "signboard": 43,
285
+ "sink": 47,
286
+ "sky": 2,
287
+ "skyscraper": 48,
288
+ "sofa": 23,
289
+ "stage": 101,
290
+ "stairs": 53,
291
+ "stairway": 59,
292
+ "step": 121,
293
+ "stool": 110,
294
+ "stove": 71,
295
+ "streetlight": 87,
296
+ "swimming pool": 109,
297
+ "swivel chair": 75,
298
+ "table": 15,
299
+ "tank": 122,
300
+ "television receiver": 89,
301
+ "tent": 114,
302
+ "toilet": 65,
303
+ "towel": 81,
304
+ "tower": 84,
305
+ "trade name": 123,
306
+ "traffic light": 136,
307
+ "tray": 137,
308
+ "tree": 4,
309
+ "truck": 83,
310
+ "van": 102,
311
+ "vase": 135,
312
+ "wall": 0,
313
+ "wardrobe": 35,
314
+ "washer": 107,
315
+ "water": 21,
316
+ "waterfall": 113,
317
+ "windowpane": 8
318
+ },
319
+ "layer_norm_eps": 1e-12,
320
+ "layer_scale_init_value": 0.1,
321
+ "loss_weight": 0.4,
322
+ "model_type": "beit",
323
+ "num_attention_heads": 12,
324
+ "num_channels": 3,
325
+ "num_convs": 1,
326
+ "num_hidden_layers": 12,
327
+ "out_indices": [
328
+ 3,
329
+ 5,
330
+ 7,
331
+ 11
332
+ ],
333
+ "patch_size": 16,
334
+ "pool_scales": [
335
+ 1,
336
+ 2,
337
+ 3,
338
+ 6
339
+ ],
340
+ "torch_dtype": "float32",
341
+ "transformers_version": "4.12.0.dev0",
342
+ "use_absolute_position_embeddings": false,
343
+ "use_auxiliary_head": true,
344
+ "use_mask_token": false,
345
+ "use_mean_pooling": true,
346
+ "use_relative_position_bias": true,
347
+ "use_shared_relative_position_bias": false,
348
+ "vocab_size": 8192
349
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": false,
4
+ "do_normalize": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "BeitFeatureExtractor",
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 3,
18
+ "size": 640
19
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0747360d190bd7c0f53d2fe3b2ed560c304d3eefef94574af9c7e93aaf8e7a9
3
+ size 899902905