mieszkok commited on
Commit
193e8a6
1 Parent(s): b95e7bb

Upload processor

Browse files
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,455 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_max_size": 2560,
3
+ "_valid_processor_keys": [
4
+ "images",
5
+ "task_inputs",
6
+ "segmentation_maps",
7
+ "instance_id_to_semantic_id",
8
+ "do_resize",
9
+ "size",
10
+ "resample",
11
+ "do_rescale",
12
+ "rescale_factor",
13
+ "do_normalize",
14
+ "image_mean",
15
+ "image_std",
16
+ "ignore_index",
17
+ "do_reduce_labels",
18
+ "return_tensors",
19
+ "data_format",
20
+ "input_data_format"
21
+ ],
22
+ "class_info_file": "ade20k_panoptic.json",
23
+ "do_normalize": true,
24
+ "do_reduce_labels": false,
25
+ "do_rescale": true,
26
+ "do_resize": true,
27
+ "ignore_index": 255,
28
+ "image_mean": [
29
+ 0.48500001430511475,
30
+ 0.4560000002384186,
31
+ 0.4059999883174896
32
+ ],
33
+ "image_processor_type": "OneFormerImageProcessor",
34
+ "image_std": [
35
+ 0.2290000021457672,
36
+ 0.2239999920129776,
37
+ 0.22499999403953552
38
+ ],
39
+ "metadata": {
40
+ "0": "wall",
41
+ "1": "building",
42
+ "10": "cabinet",
43
+ "100": "poster, posting, placard, notice, bill, card",
44
+ "101": "stage",
45
+ "102": "van",
46
+ "103": "ship",
47
+ "104": "fountain",
48
+ "105": "conveyer belt, conveyor belt, conveyer, conveyor, transporter",
49
+ "106": "canopy",
50
+ "107": "washer, automatic washer, washing machine",
51
+ "108": "plaything, toy",
52
+ "109": "pool",
53
+ "11": "sidewalk, pavement",
54
+ "110": "stool",
55
+ "111": "barrel, cask",
56
+ "112": "basket, handbasket",
57
+ "113": "falls",
58
+ "114": "tent",
59
+ "115": "bag",
60
+ "116": "minibike, motorbike",
61
+ "117": "cradle",
62
+ "118": "oven",
63
+ "119": "ball",
64
+ "12": "person",
65
+ "120": "food, solid food",
66
+ "121": "step, stair",
67
+ "122": "tank, storage tank",
68
+ "123": "trade name",
69
+ "124": "microwave",
70
+ "125": "pot",
71
+ "126": "animal",
72
+ "127": "bicycle",
73
+ "128": "lake",
74
+ "129": "dishwasher",
75
+ "13": "earth, ground",
76
+ "130": "screen",
77
+ "131": "blanket, cover",
78
+ "132": "sculpture",
79
+ "133": "hood, exhaust hood",
80
+ "134": "sconce",
81
+ "135": "vase",
82
+ "136": "traffic light",
83
+ "137": "tray",
84
+ "138": "trash can",
85
+ "139": "fan",
86
+ "14": "door",
87
+ "140": "pier",
88
+ "141": "crt screen",
89
+ "142": "plate",
90
+ "143": "monitor",
91
+ "144": "bulletin board",
92
+ "145": "shower",
93
+ "146": "radiator",
94
+ "147": "glass, drinking glass",
95
+ "148": "clock",
96
+ "149": "flag",
97
+ "15": "table",
98
+ "16": "mountain, mount",
99
+ "17": "plant",
100
+ "18": "curtain",
101
+ "19": "chair",
102
+ "2": "sky",
103
+ "20": "car",
104
+ "21": "water",
105
+ "22": "painting, picture",
106
+ "23": "sofa",
107
+ "24": "shelf",
108
+ "25": "house",
109
+ "26": "sea",
110
+ "27": "mirror",
111
+ "28": "rug",
112
+ "29": "field",
113
+ "3": "floor",
114
+ "30": "armchair",
115
+ "31": "seat",
116
+ "32": "fence",
117
+ "33": "desk",
118
+ "34": "rock, stone",
119
+ "35": "wardrobe, closet, press",
120
+ "36": "lamp",
121
+ "37": "tub",
122
+ "38": "rail",
123
+ "39": "cushion",
124
+ "4": "tree",
125
+ "40": "base, pedestal, stand",
126
+ "41": "box",
127
+ "42": "column, pillar",
128
+ "43": "signboard, sign",
129
+ "44": "chest of drawers, chest, bureau, dresser",
130
+ "45": "counter",
131
+ "46": "sand",
132
+ "47": "sink",
133
+ "48": "skyscraper",
134
+ "49": "fireplace",
135
+ "5": "ceiling",
136
+ "50": "refrigerator, icebox",
137
+ "51": "grandstand, covered stand",
138
+ "52": "path",
139
+ "53": "stairs",
140
+ "54": "runway",
141
+ "55": "case, display case, showcase, vitrine",
142
+ "56": "pool table, billiard table, snooker table",
143
+ "57": "pillow",
144
+ "58": "screen door, screen",
145
+ "59": "stairway, staircase",
146
+ "6": "road, route",
147
+ "60": "river",
148
+ "61": "bridge, span",
149
+ "62": "bookcase",
150
+ "63": "blind, screen",
151
+ "64": "coffee table",
152
+ "65": "toilet, can, commode, crapper, pot, potty, stool, throne",
153
+ "66": "flower",
154
+ "67": "book",
155
+ "68": "hill",
156
+ "69": "bench",
157
+ "7": "bed",
158
+ "70": "countertop",
159
+ "71": "stove",
160
+ "72": "palm, palm tree",
161
+ "73": "kitchen island",
162
+ "74": "computer",
163
+ "75": "swivel chair",
164
+ "76": "boat",
165
+ "77": "bar",
166
+ "78": "arcade machine",
167
+ "79": "hovel, hut, hutch, shack, shanty",
168
+ "8": "window ",
169
+ "80": "bus",
170
+ "81": "towel",
171
+ "82": "light",
172
+ "83": "truck",
173
+ "84": "tower",
174
+ "85": "chandelier",
175
+ "86": "awning, sunshade, sunblind",
176
+ "87": "street lamp",
177
+ "88": "booth",
178
+ "89": "tv",
179
+ "9": "grass",
180
+ "90": "plane",
181
+ "91": "dirt track",
182
+ "92": "clothes",
183
+ "93": "pole",
184
+ "94": "land, ground, soil",
185
+ "95": "bannister, banister, balustrade, balusters, handrail",
186
+ "96": "escalator, moving staircase, moving stairway",
187
+ "97": "ottoman, pouf, pouffe, puff, hassock",
188
+ "98": "bottle",
189
+ "99": "buffet, counter, sideboard",
190
+ "class_names": [
191
+ "wall",
192
+ "building",
193
+ "sky",
194
+ "floor",
195
+ "tree",
196
+ "ceiling",
197
+ "road, route",
198
+ "bed",
199
+ "window ",
200
+ "grass",
201
+ "cabinet",
202
+ "sidewalk, pavement",
203
+ "person",
204
+ "earth, ground",
205
+ "door",
206
+ "table",
207
+ "mountain, mount",
208
+ "plant",
209
+ "curtain",
210
+ "chair",
211
+ "car",
212
+ "water",
213
+ "painting, picture",
214
+ "sofa",
215
+ "shelf",
216
+ "house",
217
+ "sea",
218
+ "mirror",
219
+ "rug",
220
+ "field",
221
+ "armchair",
222
+ "seat",
223
+ "fence",
224
+ "desk",
225
+ "rock, stone",
226
+ "wardrobe, closet, press",
227
+ "lamp",
228
+ "tub",
229
+ "rail",
230
+ "cushion",
231
+ "base, pedestal, stand",
232
+ "box",
233
+ "column, pillar",
234
+ "signboard, sign",
235
+ "chest of drawers, chest, bureau, dresser",
236
+ "counter",
237
+ "sand",
238
+ "sink",
239
+ "skyscraper",
240
+ "fireplace",
241
+ "refrigerator, icebox",
242
+ "grandstand, covered stand",
243
+ "path",
244
+ "stairs",
245
+ "runway",
246
+ "case, display case, showcase, vitrine",
247
+ "pool table, billiard table, snooker table",
248
+ "pillow",
249
+ "screen door, screen",
250
+ "stairway, staircase",
251
+ "river",
252
+ "bridge, span",
253
+ "bookcase",
254
+ "blind, screen",
255
+ "coffee table",
256
+ "toilet, can, commode, crapper, pot, potty, stool, throne",
257
+ "flower",
258
+ "book",
259
+ "hill",
260
+ "bench",
261
+ "countertop",
262
+ "stove",
263
+ "palm, palm tree",
264
+ "kitchen island",
265
+ "computer",
266
+ "swivel chair",
267
+ "boat",
268
+ "bar",
269
+ "arcade machine",
270
+ "hovel, hut, hutch, shack, shanty",
271
+ "bus",
272
+ "towel",
273
+ "light",
274
+ "truck",
275
+ "tower",
276
+ "chandelier",
277
+ "awning, sunshade, sunblind",
278
+ "street lamp",
279
+ "booth",
280
+ "tv",
281
+ "plane",
282
+ "dirt track",
283
+ "clothes",
284
+ "pole",
285
+ "land, ground, soil",
286
+ "bannister, banister, balustrade, balusters, handrail",
287
+ "escalator, moving staircase, moving stairway",
288
+ "ottoman, pouf, pouffe, puff, hassock",
289
+ "bottle",
290
+ "buffet, counter, sideboard",
291
+ "poster, posting, placard, notice, bill, card",
292
+ "stage",
293
+ "van",
294
+ "ship",
295
+ "fountain",
296
+ "conveyer belt, conveyor belt, conveyer, conveyor, transporter",
297
+ "canopy",
298
+ "washer, automatic washer, washing machine",
299
+ "plaything, toy",
300
+ "pool",
301
+ "stool",
302
+ "barrel, cask",
303
+ "basket, handbasket",
304
+ "falls",
305
+ "tent",
306
+ "bag",
307
+ "minibike, motorbike",
308
+ "cradle",
309
+ "oven",
310
+ "ball",
311
+ "food, solid food",
312
+ "step, stair",
313
+ "tank, storage tank",
314
+ "trade name",
315
+ "microwave",
316
+ "pot",
317
+ "animal",
318
+ "bicycle",
319
+ "lake",
320
+ "dishwasher",
321
+ "screen",
322
+ "blanket, cover",
323
+ "sculpture",
324
+ "hood, exhaust hood",
325
+ "sconce",
326
+ "vase",
327
+ "traffic light",
328
+ "tray",
329
+ "trash can",
330
+ "fan",
331
+ "pier",
332
+ "crt screen",
333
+ "plate",
334
+ "monitor",
335
+ "bulletin board",
336
+ "shower",
337
+ "radiator",
338
+ "glass, drinking glass",
339
+ "clock",
340
+ "flag"
341
+ ],
342
+ "thing_ids": [
343
+ 7,
344
+ 8,
345
+ 10,
346
+ 12,
347
+ 14,
348
+ 15,
349
+ 18,
350
+ 19,
351
+ 20,
352
+ 22,
353
+ 23,
354
+ 24,
355
+ 27,
356
+ 30,
357
+ 31,
358
+ 32,
359
+ 33,
360
+ 35,
361
+ 36,
362
+ 37,
363
+ 38,
364
+ 39,
365
+ 41,
366
+ 42,
367
+ 43,
368
+ 44,
369
+ 45,
370
+ 47,
371
+ 49,
372
+ 50,
373
+ 53,
374
+ 55,
375
+ 56,
376
+ 57,
377
+ 58,
378
+ 62,
379
+ 64,
380
+ 65,
381
+ 66,
382
+ 67,
383
+ 69,
384
+ 70,
385
+ 71,
386
+ 72,
387
+ 73,
388
+ 74,
389
+ 75,
390
+ 76,
391
+ 78,
392
+ 80,
393
+ 81,
394
+ 82,
395
+ 83,
396
+ 85,
397
+ 86,
398
+ 87,
399
+ 88,
400
+ 89,
401
+ 90,
402
+ 92,
403
+ 93,
404
+ 95,
405
+ 97,
406
+ 98,
407
+ 102,
408
+ 103,
409
+ 104,
410
+ 107,
411
+ 108,
412
+ 110,
413
+ 111,
414
+ 112,
415
+ 115,
416
+ 116,
417
+ 118,
418
+ 119,
419
+ 120,
420
+ 121,
421
+ 123,
422
+ 124,
423
+ 125,
424
+ 126,
425
+ 127,
426
+ 129,
427
+ 130,
428
+ 132,
429
+ 133,
430
+ 134,
431
+ 135,
432
+ 136,
433
+ 137,
434
+ 138,
435
+ 139,
436
+ 142,
437
+ 143,
438
+ 144,
439
+ 146,
440
+ 147,
441
+ 148,
442
+ 149
443
+ ]
444
+ },
445
+ "num_labels": 150,
446
+ "num_text": 234,
447
+ "processor_class": "OneFormerProcessor",
448
+ "repo_path": "shi-labs/oneformer_demo",
449
+ "resample": 2,
450
+ "rescale_factor": 0.00392156862745098,
451
+ "size": {
452
+ "longest_edge": 2560,
453
+ "shortest_edge": 640
454
+ }
455
+ }
processor_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 77,
3
+ "processor_class": "OneFormerProcessor",
4
+ "task_seq_length": 77
5
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "49406": {
4
+ "content": "<|startoftext|>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "49407": {
12
+ "content": "<|endoftext|>",
13
+ "lstrip": false,
14
+ "normalized": true,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ }
19
+ },
20
+ "bos_token": "<|startoftext|>",
21
+ "clean_up_tokenization_spaces": true,
22
+ "eos_token": "<|endoftext|>",
23
+ "errors": "replace",
24
+ "model_max_length": 1000000000000000019884624838656,
25
+ "pad_token": "<|endoftext|>",
26
+ "processor_class": "OneFormerProcessor",
27
+ "tokenizer_class": "CLIPTokenizer",
28
+ "unk_token": "<|endoftext|>"
29
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff