LightDestory commited on
Commit
5b72318
1 Parent(s): 831e900

Upload UperNetForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +275 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openmmlab/upernet-convnext-small",
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": null,
12
+ "backbone_config": {
13
+ "depths": [
14
+ 3,
15
+ 3,
16
+ 27,
17
+ 3
18
+ ],
19
+ "drop_path_rate": 0.0,
20
+ "hidden_act": "gelu",
21
+ "hidden_sizes": [
22
+ 96,
23
+ 192,
24
+ 384,
25
+ 768
26
+ ],
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "layer_norm_eps": 1e-12,
30
+ "layer_scale_init_value": 1e-06,
31
+ "model_type": "convnext",
32
+ "num_stages": 4,
33
+ "out_features": [
34
+ "stage1",
35
+ "stage2",
36
+ "stage3",
37
+ "stage4"
38
+ ],
39
+ "out_indices": [
40
+ 1,
41
+ 2,
42
+ 3,
43
+ 4
44
+ ],
45
+ "patch_size": 4
46
+ },
47
+ "backbone_kwargs": null,
48
+ "hidden_size": 512,
49
+ "id2label": {
50
+ "0": "background",
51
+ "1": "candy",
52
+ "2": "egg tart",
53
+ "3": "french fries",
54
+ "4": "chocolate",
55
+ "5": "biscuit",
56
+ "6": "popcorn",
57
+ "7": "pudding",
58
+ "8": "ice cream",
59
+ "9": "cheese butter",
60
+ "10": "cake",
61
+ "11": "wine",
62
+ "12": "milkshake",
63
+ "13": "coffee",
64
+ "14": "juice",
65
+ "15": "milk",
66
+ "16": "tea",
67
+ "17": "almond",
68
+ "18": "red beans",
69
+ "19": "cashew",
70
+ "20": "dried cranberries",
71
+ "21": "soy",
72
+ "22": "walnut",
73
+ "23": "peanut",
74
+ "24": "egg",
75
+ "25": "apple",
76
+ "26": "date",
77
+ "27": "apricot",
78
+ "28": "avocado",
79
+ "29": "banana",
80
+ "30": "strawberry",
81
+ "31": "cherry",
82
+ "32": "blueberry",
83
+ "33": "raspberry",
84
+ "34": "mango",
85
+ "35": "olives",
86
+ "36": "peach",
87
+ "37": "lemon",
88
+ "38": "pear",
89
+ "39": "fig",
90
+ "40": "pineapple",
91
+ "41": "grape",
92
+ "42": "kiwi",
93
+ "43": "melon",
94
+ "44": "orange",
95
+ "45": "watermelon",
96
+ "46": "steak",
97
+ "47": "pork",
98
+ "48": "chicken duck",
99
+ "49": "sausage",
100
+ "50": "fried meat",
101
+ "51": "lamb",
102
+ "52": "sauce",
103
+ "53": "crab",
104
+ "54": "fish",
105
+ "55": "shellfish",
106
+ "56": "shrimp",
107
+ "57": "soup",
108
+ "58": "bread",
109
+ "59": "corn",
110
+ "60": "hamburg",
111
+ "61": "pizza",
112
+ "62": " hanamaki baozi",
113
+ "63": "wonton dumplings",
114
+ "64": "pasta",
115
+ "65": "noodles",
116
+ "66": "rice",
117
+ "67": "pie",
118
+ "68": "tofu",
119
+ "69": "eggplant",
120
+ "70": "potato",
121
+ "71": "garlic",
122
+ "72": "cauliflower",
123
+ "73": "tomato",
124
+ "74": "kelp",
125
+ "75": "seaweed",
126
+ "76": "spring onion",
127
+ "77": "rape",
128
+ "78": "ginger",
129
+ "79": "okra",
130
+ "80": "lettuce",
131
+ "81": "pumpkin",
132
+ "82": "cucumber",
133
+ "83": "white radish",
134
+ "84": "carrot",
135
+ "85": "asparagus",
136
+ "86": "bamboo shoots",
137
+ "87": "broccoli",
138
+ "88": "celery stick",
139
+ "89": "cilantro mint",
140
+ "90": "snow peas",
141
+ "91": " cabbage",
142
+ "92": "bean sprouts",
143
+ "93": "onion",
144
+ "94": "pepper",
145
+ "95": "green beans",
146
+ "96": "French beans",
147
+ "97": "king oyster mushroom",
148
+ "98": "shiitake",
149
+ "99": "enoki mushroom",
150
+ "100": "oyster mushroom",
151
+ "101": "white button mushroom",
152
+ "102": "salad",
153
+ "103": "other ingredients"
154
+ },
155
+ "initializer_range": 0.02,
156
+ "label2id": {
157
+ " cabbage": 91,
158
+ " hanamaki baozi": 62,
159
+ "French beans": 96,
160
+ "almond": 17,
161
+ "apple": 25,
162
+ "apricot": 27,
163
+ "asparagus": 85,
164
+ "avocado": 28,
165
+ "background": 0,
166
+ "bamboo shoots": 86,
167
+ "banana": 29,
168
+ "bean sprouts": 92,
169
+ "biscuit": 5,
170
+ "blueberry": 32,
171
+ "bread": 58,
172
+ "broccoli": 87,
173
+ "cake": 10,
174
+ "candy": 1,
175
+ "carrot": 84,
176
+ "cashew": 19,
177
+ "cauliflower": 72,
178
+ "celery stick": 88,
179
+ "cheese butter": 9,
180
+ "cherry": 31,
181
+ "chicken duck": 48,
182
+ "chocolate": 4,
183
+ "cilantro mint": 89,
184
+ "coffee": 13,
185
+ "corn": 59,
186
+ "crab": 53,
187
+ "cucumber": 82,
188
+ "date": 26,
189
+ "dried cranberries": 20,
190
+ "egg": 24,
191
+ "egg tart": 2,
192
+ "eggplant": 69,
193
+ "enoki mushroom": 99,
194
+ "fig": 39,
195
+ "fish": 54,
196
+ "french fries": 3,
197
+ "fried meat": 50,
198
+ "garlic": 71,
199
+ "ginger": 78,
200
+ "grape": 41,
201
+ "green beans": 95,
202
+ "hamburg": 60,
203
+ "ice cream": 8,
204
+ "juice": 14,
205
+ "kelp": 74,
206
+ "king oyster mushroom": 97,
207
+ "kiwi": 42,
208
+ "lamb": 51,
209
+ "lemon": 37,
210
+ "lettuce": 80,
211
+ "mango": 34,
212
+ "melon": 43,
213
+ "milk": 15,
214
+ "milkshake": 12,
215
+ "noodles": 65,
216
+ "okra": 79,
217
+ "olives": 35,
218
+ "onion": 93,
219
+ "orange": 44,
220
+ "other ingredients": 103,
221
+ "oyster mushroom": 100,
222
+ "pasta": 64,
223
+ "peach": 36,
224
+ "peanut": 23,
225
+ "pear": 38,
226
+ "pepper": 94,
227
+ "pie": 67,
228
+ "pineapple": 40,
229
+ "pizza": 61,
230
+ "popcorn": 6,
231
+ "pork": 47,
232
+ "potato": 70,
233
+ "pudding": 7,
234
+ "pumpkin": 81,
235
+ "rape": 77,
236
+ "raspberry": 33,
237
+ "red beans": 18,
238
+ "rice": 66,
239
+ "salad": 102,
240
+ "sauce": 52,
241
+ "sausage": 49,
242
+ "seaweed": 75,
243
+ "shellfish": 55,
244
+ "shiitake": 98,
245
+ "shrimp": 56,
246
+ "snow peas": 90,
247
+ "soup": 57,
248
+ "soy": 21,
249
+ "spring onion": 76,
250
+ "steak": 46,
251
+ "strawberry": 30,
252
+ "tea": 16,
253
+ "tofu": 68,
254
+ "tomato": 73,
255
+ "walnut": 22,
256
+ "watermelon": 45,
257
+ "white button mushroom": 101,
258
+ "white radish": 83,
259
+ "wine": 11,
260
+ "wonton dumplings": 63
261
+ },
262
+ "loss_ignore_index": 255,
263
+ "model_type": "upernet",
264
+ "pool_scales": [
265
+ 1,
266
+ 2,
267
+ 3,
268
+ 6
269
+ ],
270
+ "torch_dtype": "float32",
271
+ "transformers_version": "4.46.0",
272
+ "use_auxiliary_head": true,
273
+ "use_pretrained_backbone": false,
274
+ "use_timm_backbone": false
275
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09ea37d431d5d442b919be81ece7ae4db09d938efcf886c83a59acf7ac4139a6
3
+ size 327469240