File size: 6,521 Bytes
8868ce7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
{
  "_name_or_path": "microsoft/swinv2-base-patch4-window8-256",
  "architectures": [
    "Swinv2ForImageClassification"
  ],
  "attention_probs_dropout_prob": 0.0,
  "depths": [
    2,
    2,
    18,
    2
  ],
  "drop_path_rate": 0.1,
  "embed_dim": 128,
  "encoder_stride": 32,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.0,
  "hidden_size": 1024,
  "id2label": {
    "0": "apple_pie",
    "1": "baby_back_ribs",
    "2": "baklava",
    "3": "beef_carpaccio",
    "4": "beef_tartare",
    "5": "beet_salad",
    "6": "beignets",
    "7": "bibimbap",
    "8": "biryani",
    "9": "bread_pudding",
    "10": "breakfast_burrito",
    "11": "bruschetta",
    "12": "caesar_salad",
    "13": "cannoli",
    "14": "caprese_salad",
    "15": "carrot_cake",
    "16": "ceviche",
    "17": "chai",
    "18": "chapati",
    "19": "cheese_plate",
    "20": "cheesecake",
    "21": "chicken_curry",
    "22": "chicken_quesadilla",
    "23": "chicken_wings",
    "24": "chocolate_cake",
    "25": "chocolate_mousse",
    "26": "chole_bhature",
    "27": "churros",
    "28": "clam_chowder",
    "29": "club_sandwich",
    "30": "crab_cakes",
    "31": "creme_brulee",
    "32": "croque_madame",
    "33": "cup_cakes",
    "34": "dabeli",
    "35": "dal",
    "36": "deviled_eggs",
    "37": "dhokla",
    "38": "donuts",
    "39": "dosa",
    "40": "dumplings",
    "41": "edamame",
    "42": "eggs_benedict",
    "43": "escargots",
    "44": "falafel",
    "45": "filet_mignon",
    "46": "fish_and_chips",
    "47": "foie_gras",
    "48": "french_fries",
    "49": "french_onion_soup",
    "50": "french_toast",
    "51": "fried_calamari",
    "52": "fried_rice",
    "53": "frozen_yogurt",
    "54": "garlic_bread",
    "55": "gnocchi",
    "56": "greek_salad",
    "57": "grilled_cheese_sandwich",
    "58": "grilled_salmon",
    "59": "guacamole",
    "60": "gyoza",
    "61": "hamburger",
    "62": "hot_and_sour_soup",
    "63": "hot_dog",
    "64": "huevos_rancheros",
    "65": "hummus",
    "66": "ice_cream",
    "67": "idli",
    "68": "jalebi",
    "69": "kathi_rolls",
    "70": "kofta",
    "71": "kulfi",
    "72": "lasagna",
    "73": "lobster_bisque",
    "74": "lobster_roll_sandwich",
    "75": "macaroni_and_cheese",
    "76": "macarons",
    "77": "miso_soup",
    "78": "momos",
    "79": "mussels",
    "80": "naan",
    "81": "nachos",
    "82": "omelette",
    "83": "onion_rings",
    "84": "oysters",
    "85": "pad_thai",
    "86": "paella",
    "87": "pakoda",
    "88": "pancakes",
    "89": "pani_puri",
    "90": "panna_cotta",
    "91": "panner_butter_masala",
    "92": "pav_bhaji",
    "93": "peking_duck",
    "94": "pho",
    "95": "pizza",
    "96": "pork_chop",
    "97": "poutine",
    "98": "prime_rib",
    "99": "pulled_pork_sandwich",
    "100": "ramen",
    "101": "ravioli",
    "102": "red_velvet_cake",
    "103": "risotto",
    "104": "samosa",
    "105": "sashimi",
    "106": "scallops",
    "107": "seaweed_salad",
    "108": "shrimp_and_grits",
    "109": "spaghetti_bolognese",
    "110": "spaghetti_carbonara",
    "111": "spring_rolls",
    "112": "steak",
    "113": "strawberry_shortcake",
    "114": "sushi",
    "115": "tacos",
    "116": "takoyaki",
    "117": "tiramisu",
    "118": "tuna_tartare",
    "119": "vadapav",
    "120": "waffles"
  },
  "image_size": 256,
  "initializer_range": 0.02,
  "label2id": {
    "apple_pie": 0,
    "baby_back_ribs": 1,
    "baklava": 2,
    "beef_carpaccio": 3,
    "beef_tartare": 4,
    "beet_salad": 5,
    "beignets": 6,
    "bibimbap": 7,
    "biryani": 8,
    "bread_pudding": 9,
    "breakfast_burrito": 10,
    "bruschetta": 11,
    "caesar_salad": 12,
    "cannoli": 13,
    "caprese_salad": 14,
    "carrot_cake": 15,
    "ceviche": 16,
    "chai": 17,
    "chapati": 18,
    "cheese_plate": 19,
    "cheesecake": 20,
    "chicken_curry": 21,
    "chicken_quesadilla": 22,
    "chicken_wings": 23,
    "chocolate_cake": 24,
    "chocolate_mousse": 25,
    "chole_bhature": 26,
    "churros": 27,
    "clam_chowder": 28,
    "club_sandwich": 29,
    "crab_cakes": 30,
    "creme_brulee": 31,
    "croque_madame": 32,
    "cup_cakes": 33,
    "dabeli": 34,
    "dal": 35,
    "deviled_eggs": 36,
    "dhokla": 37,
    "donuts": 38,
    "dosa": 39,
    "dumplings": 40,
    "edamame": 41,
    "eggs_benedict": 42,
    "escargots": 43,
    "falafel": 44,
    "filet_mignon": 45,
    "fish_and_chips": 46,
    "foie_gras": 47,
    "french_fries": 48,
    "french_onion_soup": 49,
    "french_toast": 50,
    "fried_calamari": 51,
    "fried_rice": 52,
    "frozen_yogurt": 53,
    "garlic_bread": 54,
    "gnocchi": 55,
    "greek_salad": 56,
    "grilled_cheese_sandwich": 57,
    "grilled_salmon": 58,
    "guacamole": 59,
    "gyoza": 60,
    "hamburger": 61,
    "hot_and_sour_soup": 62,
    "hot_dog": 63,
    "huevos_rancheros": 64,
    "hummus": 65,
    "ice_cream": 66,
    "idli": 67,
    "jalebi": 68,
    "kathi_rolls": 69,
    "kofta": 70,
    "kulfi": 71,
    "lasagna": 72,
    "lobster_bisque": 73,
    "lobster_roll_sandwich": 74,
    "macaroni_and_cheese": 75,
    "macarons": 76,
    "miso_soup": 77,
    "momos": 78,
    "mussels": 79,
    "naan": 80,
    "nachos": 81,
    "omelette": 82,
    "onion_rings": 83,
    "oysters": 84,
    "pad_thai": 85,
    "paella": 86,
    "pakoda": 87,
    "pancakes": 88,
    "pani_puri": 89,
    "panna_cotta": 90,
    "panner_butter_masala": 91,
    "pav_bhaji": 92,
    "peking_duck": 93,
    "pho": 94,
    "pizza": 95,
    "pork_chop": 96,
    "poutine": 97,
    "prime_rib": 98,
    "pulled_pork_sandwich": 99,
    "ramen": 100,
    "ravioli": 101,
    "red_velvet_cake": 102,
    "risotto": 103,
    "samosa": 104,
    "sashimi": 105,
    "scallops": 106,
    "seaweed_salad": 107,
    "shrimp_and_grits": 108,
    "spaghetti_bolognese": 109,
    "spaghetti_carbonara": 110,
    "spring_rolls": 111,
    "steak": 112,
    "strawberry_shortcake": 113,
    "sushi": 114,
    "tacos": 115,
    "takoyaki": 116,
    "tiramisu": 117,
    "tuna_tartare": 118,
    "vadapav": 119,
    "waffles": 120
  },
  "layer_norm_eps": 1e-05,
  "mlp_ratio": 4.0,
  "model_type": "swinv2",
  "num_channels": 3,
  "num_heads": [
    4,
    8,
    16,
    32
  ],
  "num_layers": 4,
  "patch_size": 4,
  "path_norm": true,
  "pretrained_window_sizes": [
    0,
    0,
    0,
    0
  ],
  "problem_type": "single_label_classification",
  "qkv_bias": true,
  "torch_dtype": "float32",
  "transformers_version": "4.35.2",
  "use_absolute_embeddings": false,
  "window_size": 8
}