nielsr HF staff commited on
Commit
55921e3
1 Parent(s): 787cde6

Upload UperNetForSemanticSegmentation

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