nielsr HF staff commited on
Commit
e10aae9
1 Parent(s): 1465bbf

Upload UperNetForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +435 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,435 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "UperNetForSemanticSegmentation"
5
+ ],
6
+ "auxiliary_channels": 256,
7
+ "auxiliary_concat_input": false,
8
+ "auxiliary_in_channels": 384,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "backbone_config": {
12
+ "_name_or_path": "",
13
+ "add_cross_attention": false,
14
+ "architectures": null,
15
+ "attention_probs_dropout_prob": 0.0,
16
+ "bad_words_ids": null,
17
+ "begin_suppress_tokens": null,
18
+ "bos_token_id": null,
19
+ "chunk_size_feed_forward": 0,
20
+ "cross_attention_hidden_size": null,
21
+ "decoder_start_token_id": null,
22
+ "depths": [
23
+ 2,
24
+ 2,
25
+ 6,
26
+ 2
27
+ ],
28
+ "diversity_penalty": 0.0,
29
+ "do_sample": false,
30
+ "drop_path_rate": 0.1,
31
+ "early_stopping": false,
32
+ "embed_dim": 96,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "encoder_stride": 32,
35
+ "eos_token_id": null,
36
+ "exponential_decay_length_penalty": null,
37
+ "finetuning_task": null,
38
+ "forced_bos_token_id": null,
39
+ "forced_eos_token_id": null,
40
+ "hidden_act": "gelu",
41
+ "hidden_dropout_prob": 0.0,
42
+ "hidden_size": 768,
43
+ "id2label": {
44
+ "0": "LABEL_0",
45
+ "1": "LABEL_1"
46
+ },
47
+ "image_size": 224,
48
+ "initializer_range": 0.02,
49
+ "is_decoder": false,
50
+ "is_encoder_decoder": false,
51
+ "label2id": {
52
+ "LABEL_0": 0,
53
+ "LABEL_1": 1
54
+ },
55
+ "layer_norm_eps": 1e-05,
56
+ "length_penalty": 1.0,
57
+ "max_length": 20,
58
+ "min_length": 0,
59
+ "mlp_ratio": 4.0,
60
+ "model_type": "swin",
61
+ "no_repeat_ngram_size": 0,
62
+ "num_beam_groups": 1,
63
+ "num_beams": 1,
64
+ "num_channels": 3,
65
+ "num_heads": [
66
+ 3,
67
+ 6,
68
+ 12,
69
+ 24
70
+ ],
71
+ "num_layers": 4,
72
+ "num_return_sequences": 1,
73
+ "out_features": [
74
+ "stage1",
75
+ "stage2",
76
+ "stage3",
77
+ "stage4"
78
+ ],
79
+ "output_attentions": false,
80
+ "output_hidden_states": false,
81
+ "output_scores": false,
82
+ "pad_token_id": null,
83
+ "patch_size": 4,
84
+ "path_norm": true,
85
+ "prefix": null,
86
+ "problem_type": null,
87
+ "pruned_heads": {},
88
+ "qkv_bias": true,
89
+ "remove_invalid_values": false,
90
+ "repetition_penalty": 1.0,
91
+ "return_dict": true,
92
+ "return_dict_in_generate": false,
93
+ "sep_token_id": null,
94
+ "stage_names": [
95
+ "stem",
96
+ "stage1",
97
+ "stage2",
98
+ "stage3",
99
+ "stage4"
100
+ ],
101
+ "suppress_tokens": null,
102
+ "task_specific_params": null,
103
+ "temperature": 1.0,
104
+ "tf_legacy_loss": false,
105
+ "tie_encoder_decoder": false,
106
+ "tie_word_embeddings": true,
107
+ "tokenizer_class": null,
108
+ "top_k": 50,
109
+ "top_p": 1.0,
110
+ "torch_dtype": null,
111
+ "torchscript": false,
112
+ "transformers_version": "4.26.0.dev0",
113
+ "typical_p": 1.0,
114
+ "use_absolute_embeddings": false,
115
+ "use_bfloat16": false,
116
+ "window_size": 7
117
+ },
118
+ "hidden_size": 512,
119
+ "id2label": {
120
+ "0": "wall",
121
+ "1": "building",
122
+ "2": "sky",
123
+ "3": "floor",
124
+ "4": "tree",
125
+ "5": "ceiling",
126
+ "6": "road",
127
+ "7": "bed ",
128
+ "8": "windowpane",
129
+ "9": "grass",
130
+ "10": "cabinet",
131
+ "11": "sidewalk",
132
+ "12": "person",
133
+ "13": "earth",
134
+ "14": "door",
135
+ "15": "table",
136
+ "16": "mountain",
137
+ "17": "plant",
138
+ "18": "curtain",
139
+ "19": "chair",
140
+ "20": "car",
141
+ "21": "water",
142
+ "22": "painting",
143
+ "23": "sofa",
144
+ "24": "shelf",
145
+ "25": "house",
146
+ "26": "sea",
147
+ "27": "mirror",
148
+ "28": "rug",
149
+ "29": "field",
150
+ "30": "armchair",
151
+ "31": "seat",
152
+ "32": "fence",
153
+ "33": "desk",
154
+ "34": "rock",
155
+ "35": "wardrobe",
156
+ "36": "lamp",
157
+ "37": "bathtub",
158
+ "38": "railing",
159
+ "39": "cushion",
160
+ "40": "base",
161
+ "41": "box",
162
+ "42": "column",
163
+ "43": "signboard",
164
+ "44": "chest of drawers",
165
+ "45": "counter",
166
+ "46": "sand",
167
+ "47": "sink",
168
+ "48": "skyscraper",
169
+ "49": "fireplace",
170
+ "50": "refrigerator",
171
+ "51": "grandstand",
172
+ "52": "path",
173
+ "53": "stairs",
174
+ "54": "runway",
175
+ "55": "case",
176
+ "56": "pool table",
177
+ "57": "pillow",
178
+ "58": "screen door",
179
+ "59": "stairway",
180
+ "60": "river",
181
+ "61": "bridge",
182
+ "62": "bookcase",
183
+ "63": "blind",
184
+ "64": "coffee table",
185
+ "65": "toilet",
186
+ "66": "flower",
187
+ "67": "book",
188
+ "68": "hill",
189
+ "69": "bench",
190
+ "70": "countertop",
191
+ "71": "stove",
192
+ "72": "palm",
193
+ "73": "kitchen island",
194
+ "74": "computer",
195
+ "75": "swivel chair",
196
+ "76": "boat",
197
+ "77": "bar",
198
+ "78": "arcade machine",
199
+ "79": "hovel",
200
+ "80": "bus",
201
+ "81": "towel",
202
+ "82": "light",
203
+ "83": "truck",
204
+ "84": "tower",
205
+ "85": "chandelier",
206
+ "86": "awning",
207
+ "87": "streetlight",
208
+ "88": "booth",
209
+ "89": "television receiver",
210
+ "90": "airplane",
211
+ "91": "dirt track",
212
+ "92": "apparel",
213
+ "93": "pole",
214
+ "94": "land",
215
+ "95": "bannister",
216
+ "96": "escalator",
217
+ "97": "ottoman",
218
+ "98": "bottle",
219
+ "99": "buffet",
220
+ "100": "poster",
221
+ "101": "stage",
222
+ "102": "van",
223
+ "103": "ship",
224
+ "104": "fountain",
225
+ "105": "conveyer belt",
226
+ "106": "canopy",
227
+ "107": "washer",
228
+ "108": "plaything",
229
+ "109": "swimming pool",
230
+ "110": "stool",
231
+ "111": "barrel",
232
+ "112": "basket",
233
+ "113": "waterfall",
234
+ "114": "tent",
235
+ "115": "bag",
236
+ "116": "minibike",
237
+ "117": "cradle",
238
+ "118": "oven",
239
+ "119": "ball",
240
+ "120": "food",
241
+ "121": "step",
242
+ "122": "tank",
243
+ "123": "trade name",
244
+ "124": "microwave",
245
+ "125": "pot",
246
+ "126": "animal",
247
+ "127": "bicycle",
248
+ "128": "lake",
249
+ "129": "dishwasher",
250
+ "130": "screen",
251
+ "131": "blanket",
252
+ "132": "sculpture",
253
+ "133": "hood",
254
+ "134": "sconce",
255
+ "135": "vase",
256
+ "136": "traffic light",
257
+ "137": "tray",
258
+ "138": "ashcan",
259
+ "139": "fan",
260
+ "140": "pier",
261
+ "141": "crt screen",
262
+ "142": "plate",
263
+ "143": "monitor",
264
+ "144": "bulletin board",
265
+ "145": "shower",
266
+ "146": "radiator",
267
+ "147": "glass",
268
+ "148": "clock",
269
+ "149": "flag"
270
+ },
271
+ "initializer_range": 0.02,
272
+ "label2id": {
273
+ "airplane": 90,
274
+ "animal": 126,
275
+ "apparel": 92,
276
+ "arcade machine": 78,
277
+ "armchair": 30,
278
+ "ashcan": 138,
279
+ "awning": 86,
280
+ "bag": 115,
281
+ "ball": 119,
282
+ "bannister": 95,
283
+ "bar": 77,
284
+ "barrel": 111,
285
+ "base": 40,
286
+ "basket": 112,
287
+ "bathtub": 37,
288
+ "bed ": 7,
289
+ "bench": 69,
290
+ "bicycle": 127,
291
+ "blanket": 131,
292
+ "blind": 63,
293
+ "boat": 76,
294
+ "book": 67,
295
+ "bookcase": 62,
296
+ "booth": 88,
297
+ "bottle": 98,
298
+ "box": 41,
299
+ "bridge": 61,
300
+ "buffet": 99,
301
+ "building": 1,
302
+ "bulletin board": 144,
303
+ "bus": 80,
304
+ "cabinet": 10,
305
+ "canopy": 106,
306
+ "car": 20,
307
+ "case": 55,
308
+ "ceiling": 5,
309
+ "chair": 19,
310
+ "chandelier": 85,
311
+ "chest of drawers": 44,
312
+ "clock": 148,
313
+ "coffee table": 64,
314
+ "column": 42,
315
+ "computer": 74,
316
+ "conveyer belt": 105,
317
+ "counter": 45,
318
+ "countertop": 70,
319
+ "cradle": 117,
320
+ "crt screen": 141,
321
+ "curtain": 18,
322
+ "cushion": 39,
323
+ "desk": 33,
324
+ "dirt track": 91,
325
+ "dishwasher": 129,
326
+ "door": 14,
327
+ "earth": 13,
328
+ "escalator": 96,
329
+ "fan": 139,
330
+ "fence": 32,
331
+ "field": 29,
332
+ "fireplace": 49,
333
+ "flag": 149,
334
+ "floor": 3,
335
+ "flower": 66,
336
+ "food": 120,
337
+ "fountain": 104,
338
+ "glass": 147,
339
+ "grandstand": 51,
340
+ "grass": 9,
341
+ "hill": 68,
342
+ "hood": 133,
343
+ "house": 25,
344
+ "hovel": 79,
345
+ "kitchen island": 73,
346
+ "lake": 128,
347
+ "lamp": 36,
348
+ "land": 94,
349
+ "light": 82,
350
+ "microwave": 124,
351
+ "minibike": 116,
352
+ "mirror": 27,
353
+ "monitor": 143,
354
+ "mountain": 16,
355
+ "ottoman": 97,
356
+ "oven": 118,
357
+ "painting": 22,
358
+ "palm": 72,
359
+ "path": 52,
360
+ "person": 12,
361
+ "pier": 140,
362
+ "pillow": 57,
363
+ "plant": 17,
364
+ "plate": 142,
365
+ "plaything": 108,
366
+ "pole": 93,
367
+ "pool table": 56,
368
+ "poster": 100,
369
+ "pot": 125,
370
+ "radiator": 146,
371
+ "railing": 38,
372
+ "refrigerator": 50,
373
+ "river": 60,
374
+ "road": 6,
375
+ "rock": 34,
376
+ "rug": 28,
377
+ "runway": 54,
378
+ "sand": 46,
379
+ "sconce": 134,
380
+ "screen": 130,
381
+ "screen door": 58,
382
+ "sculpture": 132,
383
+ "sea": 26,
384
+ "seat": 31,
385
+ "shelf": 24,
386
+ "ship": 103,
387
+ "shower": 145,
388
+ "sidewalk": 11,
389
+ "signboard": 43,
390
+ "sink": 47,
391
+ "sky": 2,
392
+ "skyscraper": 48,
393
+ "sofa": 23,
394
+ "stage": 101,
395
+ "stairs": 53,
396
+ "stairway": 59,
397
+ "step": 121,
398
+ "stool": 110,
399
+ "stove": 71,
400
+ "streetlight": 87,
401
+ "swimming pool": 109,
402
+ "swivel chair": 75,
403
+ "table": 15,
404
+ "tank": 122,
405
+ "television receiver": 89,
406
+ "tent": 114,
407
+ "toilet": 65,
408
+ "towel": 81,
409
+ "tower": 84,
410
+ "trade name": 123,
411
+ "traffic light": 136,
412
+ "tray": 137,
413
+ "tree": 4,
414
+ "truck": 83,
415
+ "van": 102,
416
+ "vase": 135,
417
+ "wall": 0,
418
+ "wardrobe": 35,
419
+ "washer": 107,
420
+ "water": 21,
421
+ "waterfall": 113,
422
+ "windowpane": 8
423
+ },
424
+ "loss_ignore_index": 255,
425
+ "model_type": "upernet",
426
+ "pool_scales": [
427
+ 1,
428
+ 2,
429
+ 3,
430
+ 6
431
+ ],
432
+ "torch_dtype": "float32",
433
+ "transformers_version": null,
434
+ "use_auxiliary_head": true
435
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70b992f625a36a2edfd9bd176c3bddde3407aae0e95680b63e58305efdaa018d
3
+ size 240155657