praeclarumjj3 commited on
Commit
2c8a049
·
1 Parent(s): 3791115
Files changed (2) hide show
  1. config.json +374 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "OneFormerForUniversalSegmentation"
4
+ ],
5
+ "backbone_config": {
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.3,
14
+ "embed_dim": 192,
15
+ "encoder_stride": 32,
16
+ "feature_channels": [
17
+ 192,
18
+ 384,
19
+ 768,
20
+ 1536
21
+ ],
22
+ "hidden_act": "gelu",
23
+ "hidden_dropout_prob": 0.0,
24
+ "image_size": 384,
25
+ "mlp_ratio": 4.0,
26
+ "num_channels": 3,
27
+ "num_heads": [
28
+ 6,
29
+ 12,
30
+ 24,
31
+ 48
32
+ ],
33
+ "patch_norm": true,
34
+ "patch_size": 4,
35
+ "qkv_bias": true,
36
+ "strides": [
37
+ 4,
38
+ 8,
39
+ 16,
40
+ 32
41
+ ],
42
+ "use_absolute_embeddings": false,
43
+ "window_size": 12
44
+ },
45
+ "decoder_config": {
46
+ "common_stride": 4,
47
+ "conv_dim": 256,
48
+ "decoder_layers": 10,
49
+ "dim_feedforward": 2048,
50
+ "dropout": 0.1,
51
+ "encoder_feedforward_dim": 1024,
52
+ "encoder_layers": 6,
53
+ "enforce_input_proj": false,
54
+ "hidden_dim": 256,
55
+ "mask_dim": 256,
56
+ "norm": "GN",
57
+ "num_heads": 8,
58
+ "pre_norm": false,
59
+ "query_dec_layers": 2,
60
+ "use_task_norm": true
61
+ },
62
+ "general_config": {
63
+ "backbone_type": "swin",
64
+ "class_weight": 2.0,
65
+ "contrastive_temperature": 0.07,
66
+ "contrastive_weight": 0.5,
67
+ "deep_supervision": true,
68
+ "dice_weight": 5.0,
69
+ "ignore_value": 255,
70
+ "importance_sample_ratio": 0.75,
71
+ "init_std": 0.02,
72
+ "init_xavier_std": 1.0,
73
+ "is_train": false,
74
+ "layer_norm_eps": 1e-05,
75
+ "mask_weight": 5.0,
76
+ "no_object_weight": 0.1,
77
+ "num_classes": 133,
78
+ "num_queries": 150,
79
+ "output_auxiliary_logits": true,
80
+ "oversample_ratio": 3.0,
81
+ "train_num_points": 12544,
82
+ "use_auxiliary_loss": true
83
+ },
84
+ "hidden_size": 256,
85
+ "id2label": {
86
+ "0": "person",
87
+ "1": "bicycle",
88
+ "2": "car",
89
+ "3": "motorcycle",
90
+ "4": "airplane",
91
+ "5": "bus",
92
+ "6": "train",
93
+ "7": "truck",
94
+ "8": "boat",
95
+ "9": "traffic light",
96
+ "10": "fire hydrant",
97
+ "11": "stop sign",
98
+ "12": "parking meter",
99
+ "13": "bench",
100
+ "14": "bird",
101
+ "15": "cat",
102
+ "16": "dog",
103
+ "17": "horse",
104
+ "18": "sheep",
105
+ "19": "cow",
106
+ "20": "elephant",
107
+ "21": "bear",
108
+ "22": "zebra",
109
+ "23": "giraffe",
110
+ "24": "backpack",
111
+ "25": "umbrella",
112
+ "26": "handbag",
113
+ "27": "tie",
114
+ "28": "suitcase",
115
+ "29": "frisbee",
116
+ "30": "skis",
117
+ "31": "snowboard",
118
+ "32": "sports ball",
119
+ "33": "kite",
120
+ "34": "baseball bat",
121
+ "35": "baseball glove",
122
+ "36": "skateboard",
123
+ "37": "surfboard",
124
+ "38": "tennis racket",
125
+ "39": "bottle",
126
+ "40": "wine glass",
127
+ "41": "cup",
128
+ "42": "fork",
129
+ "43": "knife",
130
+ "44": "spoon",
131
+ "45": "bowl",
132
+ "46": "banana",
133
+ "47": "apple",
134
+ "48": "sandwich",
135
+ "49": "orange",
136
+ "50": "broccoli",
137
+ "51": "carrot",
138
+ "52": "hot dog",
139
+ "53": "pizza",
140
+ "54": "donut",
141
+ "55": "cake",
142
+ "56": "chair",
143
+ "57": "couch",
144
+ "58": "potted plant",
145
+ "59": "bed",
146
+ "60": "dining table",
147
+ "61": "toilet",
148
+ "62": "tv",
149
+ "63": "laptop",
150
+ "64": "mouse",
151
+ "65": "remote",
152
+ "66": "keyboard",
153
+ "67": "cell phone",
154
+ "68": "microwave",
155
+ "69": "oven",
156
+ "70": "toaster",
157
+ "71": "sink",
158
+ "72": "refrigerator",
159
+ "73": "book",
160
+ "74": "clock",
161
+ "75": "vase",
162
+ "76": "scissors",
163
+ "77": "teddy bear",
164
+ "78": "hair drier",
165
+ "79": "toothbrush",
166
+ "80": "banner",
167
+ "81": "blanket",
168
+ "82": "bridge",
169
+ "83": "cardboard",
170
+ "84": "counter",
171
+ "85": "curtain",
172
+ "86": "door-stuff",
173
+ "87": "floor-wood",
174
+ "88": "flower",
175
+ "89": "fruit",
176
+ "90": "gravel",
177
+ "91": "house",
178
+ "92": "light",
179
+ "93": "mirror-stuff",
180
+ "94": "net",
181
+ "95": "pillow",
182
+ "96": "platform",
183
+ "97": "playingfield",
184
+ "98": "railroad",
185
+ "99": "river",
186
+ "100": "road",
187
+ "101": "roof",
188
+ "102": "sand",
189
+ "103": "sea",
190
+ "104": "shelf",
191
+ "105": "snow",
192
+ "106": "stairs",
193
+ "107": "tent",
194
+ "108": "towel",
195
+ "109": "wall-brick",
196
+ "110": "wall-stone",
197
+ "111": "wall-tile",
198
+ "112": "wall-wood",
199
+ "113": "water-other",
200
+ "114": "window-blind",
201
+ "115": "window-other",
202
+ "116": "tree-merged",
203
+ "117": "fence-merged",
204
+ "118": "ceiling-merged",
205
+ "119": "sky-other-merged",
206
+ "120": "cabinet-merged",
207
+ "121": "table-merged",
208
+ "122": "floor-other-merged",
209
+ "123": "pavement-merged",
210
+ "124": "mountain-merged",
211
+ "125": "grass-merged",
212
+ "126": "dirt-merged",
213
+ "127": "paper-merged",
214
+ "128": "food-other-merged",
215
+ "129": "building-other-merged",
216
+ "130": "rock-merged",
217
+ "131": "wall-other-merged",
218
+ "132": "rug-merged"
219
+ },
220
+ "init_std": 0.02,
221
+ "init_xavier_std": 1.0,
222
+ "label2id": {
223
+ "airplane": 4,
224
+ "apple": 47,
225
+ "backpack": 24,
226
+ "banana": 46,
227
+ "banner": 80,
228
+ "baseball bat": 34,
229
+ "baseball glove": 35,
230
+ "bear": 21,
231
+ "bed": 59,
232
+ "bench": 13,
233
+ "bicycle": 1,
234
+ "bird": 14,
235
+ "blanket": 81,
236
+ "boat": 8,
237
+ "book": 73,
238
+ "bottle": 39,
239
+ "bowl": 45,
240
+ "bridge": 82,
241
+ "broccoli": 50,
242
+ "building-other-merged": 129,
243
+ "bus": 5,
244
+ "cabinet-merged": 120,
245
+ "cake": 55,
246
+ "car": 2,
247
+ "cardboard": 83,
248
+ "carrot": 51,
249
+ "cat": 15,
250
+ "ceiling-merged": 118,
251
+ "cell phone": 67,
252
+ "chair": 56,
253
+ "clock": 74,
254
+ "couch": 57,
255
+ "counter": 84,
256
+ "cow": 19,
257
+ "cup": 41,
258
+ "curtain": 85,
259
+ "dining table": 60,
260
+ "dirt-merged": 126,
261
+ "dog": 16,
262
+ "donut": 54,
263
+ "door-stuff": 86,
264
+ "elephant": 20,
265
+ "fence-merged": 117,
266
+ "fire hydrant": 10,
267
+ "floor-other-merged": 122,
268
+ "floor-wood": 87,
269
+ "flower": 88,
270
+ "food-other-merged": 128,
271
+ "fork": 42,
272
+ "frisbee": 29,
273
+ "fruit": 89,
274
+ "giraffe": 23,
275
+ "grass-merged": 125,
276
+ "gravel": 90,
277
+ "hair drier": 78,
278
+ "handbag": 26,
279
+ "horse": 17,
280
+ "hot dog": 52,
281
+ "house": 91,
282
+ "keyboard": 66,
283
+ "kite": 33,
284
+ "knife": 43,
285
+ "laptop": 63,
286
+ "light": 92,
287
+ "microwave": 68,
288
+ "mirror-stuff": 93,
289
+ "motorcycle": 3,
290
+ "mountain-merged": 124,
291
+ "mouse": 64,
292
+ "net": 94,
293
+ "orange": 49,
294
+ "oven": 69,
295
+ "paper-merged": 127,
296
+ "parking meter": 12,
297
+ "pavement-merged": 123,
298
+ "person": 0,
299
+ "pillow": 95,
300
+ "pizza": 53,
301
+ "platform": 96,
302
+ "playingfield": 97,
303
+ "potted plant": 58,
304
+ "railroad": 98,
305
+ "refrigerator": 72,
306
+ "remote": 65,
307
+ "river": 99,
308
+ "road": 100,
309
+ "rock-merged": 130,
310
+ "roof": 101,
311
+ "rug-merged": 132,
312
+ "sand": 102,
313
+ "sandwich": 48,
314
+ "scissors": 76,
315
+ "sea": 103,
316
+ "sheep": 18,
317
+ "shelf": 104,
318
+ "sink": 71,
319
+ "skateboard": 36,
320
+ "skis": 30,
321
+ "sky-other-merged": 119,
322
+ "snow": 105,
323
+ "snowboard": 31,
324
+ "spoon": 44,
325
+ "sports ball": 32,
326
+ "stairs": 106,
327
+ "stop sign": 11,
328
+ "suitcase": 28,
329
+ "surfboard": 37,
330
+ "table-merged": 121,
331
+ "teddy bear": 77,
332
+ "tennis racket": 38,
333
+ "tent": 107,
334
+ "tie": 27,
335
+ "toaster": 70,
336
+ "toilet": 61,
337
+ "toothbrush": 79,
338
+ "towel": 108,
339
+ "traffic light": 9,
340
+ "train": 6,
341
+ "tree-merged": 116,
342
+ "truck": 7,
343
+ "tv": 62,
344
+ "umbrella": 25,
345
+ "vase": 75,
346
+ "wall-brick": 109,
347
+ "wall-other-merged": 131,
348
+ "wall-stone": 110,
349
+ "wall-tile": 111,
350
+ "wall-wood": 112,
351
+ "water-other": 113,
352
+ "window-blind": 114,
353
+ "window-other": 115,
354
+ "wine glass": 40,
355
+ "zebra": 22
356
+ },
357
+ "model_type": "oneformer",
358
+ "num_attention_heads": 8,
359
+ "num_hidden_layers": 10,
360
+ "output_attentions": true,
361
+ "output_hidden_states": true,
362
+ "text_encoder_config": {
363
+ "max_seq_len": 77,
364
+ "task_seq_len": 77,
365
+ "text_encoder_context_length": 77,
366
+ "text_encoder_n_ctx": 16,
367
+ "text_encoder_num_layers": 6,
368
+ "text_encoder_proj_layers": 2,
369
+ "text_encoder_vocab_size": 49408,
370
+ "text_encoder_width": 256
371
+ },
372
+ "torch_dtype": "float32",
373
+ "transformers_version": "4.25.0.dev0"
374
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35cdce0e17f5c33337df531d343dcad2288e382adf15279e92f8c18ad2472c6f
3
+ size 879400141