PedroSampaio
commited on
Commit
•
99f90c0
1
Parent(s):
a959c04
Training in progress, epoch 0
Browse files- config.json +259 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,259 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-base-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
18,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 128,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 1024,
|
19 |
+
"id2label": {
|
20 |
+
"0": "apple_pie",
|
21 |
+
"1": "baby_back_ribs",
|
22 |
+
"2": "baklava",
|
23 |
+
"3": "beef_carpaccio",
|
24 |
+
"4": "beef_tartare",
|
25 |
+
"5": "beet_salad",
|
26 |
+
"6": "beignets",
|
27 |
+
"7": "bibimbap",
|
28 |
+
"8": "bread_pudding",
|
29 |
+
"9": "breakfast_burrito",
|
30 |
+
"10": "bruschetta",
|
31 |
+
"11": "caesar_salad",
|
32 |
+
"12": "cannoli",
|
33 |
+
"13": "caprese_salad",
|
34 |
+
"14": "carrot_cake",
|
35 |
+
"15": "ceviche",
|
36 |
+
"16": "cheesecake",
|
37 |
+
"17": "cheese_plate",
|
38 |
+
"18": "chicken_curry",
|
39 |
+
"19": "chicken_quesadilla",
|
40 |
+
"20": "chicken_wings",
|
41 |
+
"21": "chocolate_cake",
|
42 |
+
"22": "chocolate_mousse",
|
43 |
+
"23": "churros",
|
44 |
+
"24": "clam_chowder",
|
45 |
+
"25": "club_sandwich",
|
46 |
+
"26": "crab_cakes",
|
47 |
+
"27": "creme_brulee",
|
48 |
+
"28": "croque_madame",
|
49 |
+
"29": "cup_cakes",
|
50 |
+
"30": "deviled_eggs",
|
51 |
+
"31": "donuts",
|
52 |
+
"32": "dumplings",
|
53 |
+
"33": "edamame",
|
54 |
+
"34": "eggs_benedict",
|
55 |
+
"35": "escargots",
|
56 |
+
"36": "falafel",
|
57 |
+
"37": "filet_mignon",
|
58 |
+
"38": "fish_and_chips",
|
59 |
+
"39": "foie_gras",
|
60 |
+
"40": "french_fries",
|
61 |
+
"41": "french_onion_soup",
|
62 |
+
"42": "french_toast",
|
63 |
+
"43": "fried_calamari",
|
64 |
+
"44": "fried_rice",
|
65 |
+
"45": "frozen_yogurt",
|
66 |
+
"46": "garlic_bread",
|
67 |
+
"47": "gnocchi",
|
68 |
+
"48": "greek_salad",
|
69 |
+
"49": "grilled_cheese_sandwich",
|
70 |
+
"50": "grilled_salmon",
|
71 |
+
"51": "guacamole",
|
72 |
+
"52": "gyoza",
|
73 |
+
"53": "hamburger",
|
74 |
+
"54": "hot_and_sour_soup",
|
75 |
+
"55": "hot_dog",
|
76 |
+
"56": "huevos_rancheros",
|
77 |
+
"57": "hummus",
|
78 |
+
"58": "ice_cream",
|
79 |
+
"59": "lasagna",
|
80 |
+
"60": "lobster_bisque",
|
81 |
+
"61": "lobster_roll_sandwich",
|
82 |
+
"62": "macaroni_and_cheese",
|
83 |
+
"63": "macarons",
|
84 |
+
"64": "miso_soup",
|
85 |
+
"65": "mussels",
|
86 |
+
"66": "nachos",
|
87 |
+
"67": "omelette",
|
88 |
+
"68": "onion_rings",
|
89 |
+
"69": "oysters",
|
90 |
+
"70": "pad_thai",
|
91 |
+
"71": "paella",
|
92 |
+
"72": "pancakes",
|
93 |
+
"73": "panna_cotta",
|
94 |
+
"74": "peking_duck",
|
95 |
+
"75": "pho",
|
96 |
+
"76": "pizza",
|
97 |
+
"77": "pork_chop",
|
98 |
+
"78": "poutine",
|
99 |
+
"79": "prime_rib",
|
100 |
+
"80": "pulled_pork_sandwich",
|
101 |
+
"81": "ramen",
|
102 |
+
"82": "ravioli",
|
103 |
+
"83": "red_velvet_cake",
|
104 |
+
"84": "risotto",
|
105 |
+
"85": "samosa",
|
106 |
+
"86": "sashimi",
|
107 |
+
"87": "scallops",
|
108 |
+
"88": "seaweed_salad",
|
109 |
+
"89": "shrimp_and_grits",
|
110 |
+
"90": "spaghetti_bolognese",
|
111 |
+
"91": "spaghetti_carbonara",
|
112 |
+
"92": "spring_rolls",
|
113 |
+
"93": "steak",
|
114 |
+
"94": "strawberry_shortcake",
|
115 |
+
"95": "sushi",
|
116 |
+
"96": "tacos",
|
117 |
+
"97": "takoyaki",
|
118 |
+
"98": "tiramisu",
|
119 |
+
"99": "tuna_tartare",
|
120 |
+
"100": "waffles"
|
121 |
+
},
|
122 |
+
"image_size": 224,
|
123 |
+
"initializer_range": 0.02,
|
124 |
+
"label2id": {
|
125 |
+
"apple_pie": 0,
|
126 |
+
"baby_back_ribs": 1,
|
127 |
+
"baklava": 2,
|
128 |
+
"beef_carpaccio": 3,
|
129 |
+
"beef_tartare": 4,
|
130 |
+
"beet_salad": 5,
|
131 |
+
"beignets": 6,
|
132 |
+
"bibimbap": 7,
|
133 |
+
"bread_pudding": 8,
|
134 |
+
"breakfast_burrito": 9,
|
135 |
+
"bruschetta": 10,
|
136 |
+
"caesar_salad": 11,
|
137 |
+
"cannoli": 12,
|
138 |
+
"caprese_salad": 13,
|
139 |
+
"carrot_cake": 14,
|
140 |
+
"ceviche": 15,
|
141 |
+
"cheese_plate": 17,
|
142 |
+
"cheesecake": 16,
|
143 |
+
"chicken_curry": 18,
|
144 |
+
"chicken_quesadilla": 19,
|
145 |
+
"chicken_wings": 20,
|
146 |
+
"chocolate_cake": 21,
|
147 |
+
"chocolate_mousse": 22,
|
148 |
+
"churros": 23,
|
149 |
+
"clam_chowder": 24,
|
150 |
+
"club_sandwich": 25,
|
151 |
+
"crab_cakes": 26,
|
152 |
+
"creme_brulee": 27,
|
153 |
+
"croque_madame": 28,
|
154 |
+
"cup_cakes": 29,
|
155 |
+
"deviled_eggs": 30,
|
156 |
+
"donuts": 31,
|
157 |
+
"dumplings": 32,
|
158 |
+
"edamame": 33,
|
159 |
+
"eggs_benedict": 34,
|
160 |
+
"escargots": 35,
|
161 |
+
"falafel": 36,
|
162 |
+
"filet_mignon": 37,
|
163 |
+
"fish_and_chips": 38,
|
164 |
+
"foie_gras": 39,
|
165 |
+
"french_fries": 40,
|
166 |
+
"french_onion_soup": 41,
|
167 |
+
"french_toast": 42,
|
168 |
+
"fried_calamari": 43,
|
169 |
+
"fried_rice": 44,
|
170 |
+
"frozen_yogurt": 45,
|
171 |
+
"garlic_bread": 46,
|
172 |
+
"gnocchi": 47,
|
173 |
+
"greek_salad": 48,
|
174 |
+
"grilled_cheese_sandwich": 49,
|
175 |
+
"grilled_salmon": 50,
|
176 |
+
"guacamole": 51,
|
177 |
+
"gyoza": 52,
|
178 |
+
"hamburger": 53,
|
179 |
+
"hot_and_sour_soup": 54,
|
180 |
+
"hot_dog": 55,
|
181 |
+
"huevos_rancheros": 56,
|
182 |
+
"hummus": 57,
|
183 |
+
"ice_cream": 58,
|
184 |
+
"lasagna": 59,
|
185 |
+
"lobster_bisque": 60,
|
186 |
+
"lobster_roll_sandwich": 61,
|
187 |
+
"macaroni_and_cheese": 62,
|
188 |
+
"macarons": 63,
|
189 |
+
"miso_soup": 64,
|
190 |
+
"mussels": 65,
|
191 |
+
"nachos": 66,
|
192 |
+
"omelette": 67,
|
193 |
+
"onion_rings": 68,
|
194 |
+
"oysters": 69,
|
195 |
+
"pad_thai": 70,
|
196 |
+
"paella": 71,
|
197 |
+
"pancakes": 72,
|
198 |
+
"panna_cotta": 73,
|
199 |
+
"peking_duck": 74,
|
200 |
+
"pho": 75,
|
201 |
+
"pizza": 76,
|
202 |
+
"pork_chop": 77,
|
203 |
+
"poutine": 78,
|
204 |
+
"prime_rib": 79,
|
205 |
+
"pulled_pork_sandwich": 80,
|
206 |
+
"ramen": 81,
|
207 |
+
"ravioli": 82,
|
208 |
+
"red_velvet_cake": 83,
|
209 |
+
"risotto": 84,
|
210 |
+
"samosa": 85,
|
211 |
+
"sashimi": 86,
|
212 |
+
"scallops": 87,
|
213 |
+
"seaweed_salad": 88,
|
214 |
+
"shrimp_and_grits": 89,
|
215 |
+
"spaghetti_bolognese": 90,
|
216 |
+
"spaghetti_carbonara": 91,
|
217 |
+
"spring_rolls": 92,
|
218 |
+
"steak": 93,
|
219 |
+
"strawberry_shortcake": 94,
|
220 |
+
"sushi": 95,
|
221 |
+
"tacos": 96,
|
222 |
+
"takoyaki": 97,
|
223 |
+
"tiramisu": 98,
|
224 |
+
"tuna_tartare": 99,
|
225 |
+
"waffles": 100
|
226 |
+
},
|
227 |
+
"layer_norm_eps": 1e-05,
|
228 |
+
"mlp_ratio": 4.0,
|
229 |
+
"model_type": "swin",
|
230 |
+
"num_channels": 3,
|
231 |
+
"num_heads": [
|
232 |
+
4,
|
233 |
+
8,
|
234 |
+
16,
|
235 |
+
32
|
236 |
+
],
|
237 |
+
"num_layers": 4,
|
238 |
+
"out_features": [
|
239 |
+
"stage4"
|
240 |
+
],
|
241 |
+
"out_indices": [
|
242 |
+
4
|
243 |
+
],
|
244 |
+
"patch_size": 4,
|
245 |
+
"path_norm": true,
|
246 |
+
"problem_type": "single_label_classification",
|
247 |
+
"qkv_bias": true,
|
248 |
+
"stage_names": [
|
249 |
+
"stem",
|
250 |
+
"stage1",
|
251 |
+
"stage2",
|
252 |
+
"stage3",
|
253 |
+
"stage4"
|
254 |
+
],
|
255 |
+
"torch_dtype": "float32",
|
256 |
+
"transformers_version": "4.34.1",
|
257 |
+
"use_absolute_embeddings": false,
|
258 |
+
"window_size": 7
|
259 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb06de6527e1c821d4c204afbee0939d05624f224a799c8b3890ed30d778ba67
|
3 |
+
size 348006158
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95afc58914d9d8d87911bd5c7778851376c2b8c678c2a468a9400f922aa6f609
|
3 |
+
size 4600
|