AmitMidday
commited on
Commit
•
430bdf3
1
Parent(s):
b565d70
Upload 9 files
Browse files- config.json +268 -0
- optimizer.pt +3 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +28 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "chihuahua",
|
13 |
+
"1": "japanese_spaniel",
|
14 |
+
"2": "maltese_dog",
|
15 |
+
"3": "pekinese",
|
16 |
+
"4": "shih",
|
17 |
+
"5": "blenheim_spaniel",
|
18 |
+
"6": "papillon",
|
19 |
+
"7": "toy_terrier",
|
20 |
+
"8": "rhodesian_ridgeback",
|
21 |
+
"9": "afghan_hound",
|
22 |
+
"10": "basset",
|
23 |
+
"11": "beagle",
|
24 |
+
"12": "bloodhound",
|
25 |
+
"13": "bluetick",
|
26 |
+
"14": "black",
|
27 |
+
"15": "walker_hound",
|
28 |
+
"16": "english_foxhound",
|
29 |
+
"17": "redbone",
|
30 |
+
"18": "borzoi",
|
31 |
+
"19": "irish_wolfhound",
|
32 |
+
"20": "italian_greyhound",
|
33 |
+
"21": "whippet",
|
34 |
+
"22": "ibizan_hound",
|
35 |
+
"23": "norwegian_elkhound",
|
36 |
+
"24": "otterhound",
|
37 |
+
"25": "saluki",
|
38 |
+
"26": "scottish_deerhound",
|
39 |
+
"27": "weimaraner",
|
40 |
+
"28": "staffordshire_bullterrier",
|
41 |
+
"29": "american_staffordshire_terrier",
|
42 |
+
"30": "bedlington_terrier",
|
43 |
+
"31": "border_terrier",
|
44 |
+
"32": "kerry_blue_terrier",
|
45 |
+
"33": "irish_terrier",
|
46 |
+
"34": "norfolk_terrier",
|
47 |
+
"35": "norwich_terrier",
|
48 |
+
"36": "yorkshire_terrier",
|
49 |
+
"37": "wire",
|
50 |
+
"38": "lakeland_terrier",
|
51 |
+
"39": "sealyham_terrier",
|
52 |
+
"40": "airedale",
|
53 |
+
"41": "cairn",
|
54 |
+
"42": "australian_terrier",
|
55 |
+
"43": "dandie_dinmont",
|
56 |
+
"44": "boston_bull",
|
57 |
+
"45": "miniature_schnauzer",
|
58 |
+
"46": "giant_schnauzer",
|
59 |
+
"47": "standard_schnauzer",
|
60 |
+
"48": "scotch_terrier",
|
61 |
+
"49": "tibetan_terrier",
|
62 |
+
"50": "silky_terrier",
|
63 |
+
"51": "soft",
|
64 |
+
"52": "west_highland_white_terrier",
|
65 |
+
"53": "lhasa",
|
66 |
+
"54": "flat",
|
67 |
+
"55": "curly",
|
68 |
+
"56": "golden_retriever",
|
69 |
+
"57": "labrador_retriever",
|
70 |
+
"58": "chesapeake_bay_retriever",
|
71 |
+
"59": "german_short",
|
72 |
+
"60": "vizsla",
|
73 |
+
"61": "english_setter",
|
74 |
+
"62": "irish_setter",
|
75 |
+
"63": "gordon_setter",
|
76 |
+
"64": "brittany_spaniel",
|
77 |
+
"65": "clumber",
|
78 |
+
"66": "english_springer",
|
79 |
+
"67": "welsh_springer_spaniel",
|
80 |
+
"68": "cocker_spaniel",
|
81 |
+
"69": "sussex_spaniel",
|
82 |
+
"70": "irish_water_spaniel",
|
83 |
+
"71": "kuvasz",
|
84 |
+
"72": "schipperke",
|
85 |
+
"73": "groenendael",
|
86 |
+
"74": "malinois",
|
87 |
+
"75": "briard",
|
88 |
+
"76": "kelpie",
|
89 |
+
"77": "komondor",
|
90 |
+
"78": "old_english_sheepdog",
|
91 |
+
"79": "shetland_sheepdog",
|
92 |
+
"80": "collie",
|
93 |
+
"81": "border_collie",
|
94 |
+
"82": "bouvier_des_flandres",
|
95 |
+
"83": "rottweiler",
|
96 |
+
"84": "german_shepherd",
|
97 |
+
"85": "doberman",
|
98 |
+
"86": "miniature_pinscher",
|
99 |
+
"87": "greater_swiss_mountain_dog",
|
100 |
+
"88": "bernese_mountain_dog",
|
101 |
+
"89": "appenzeller",
|
102 |
+
"90": "entlebucher",
|
103 |
+
"91": "boxer",
|
104 |
+
"92": "bull_mastiff",
|
105 |
+
"93": "tibetan_mastiff",
|
106 |
+
"94": "french_bulldog",
|
107 |
+
"95": "great_dane",
|
108 |
+
"96": "saint_bernard",
|
109 |
+
"97": "eskimo_dog",
|
110 |
+
"98": "malamute",
|
111 |
+
"99": "siberian_husky",
|
112 |
+
"100": "affenpinscher",
|
113 |
+
"101": "basenji",
|
114 |
+
"102": "pug",
|
115 |
+
"103": "leonberg",
|
116 |
+
"104": "newfoundland",
|
117 |
+
"105": "great_pyrenees",
|
118 |
+
"106": "samoyed",
|
119 |
+
"107": "pomeranian",
|
120 |
+
"108": "chow",
|
121 |
+
"109": "keeshond",
|
122 |
+
"110": "brabancon_griffon",
|
123 |
+
"111": "pembroke",
|
124 |
+
"112": "cardigan",
|
125 |
+
"113": "toy_poodle",
|
126 |
+
"114": "miniature_poodle",
|
127 |
+
"115": "standard_poodle",
|
128 |
+
"116": "mexican_hairless",
|
129 |
+
"117": "dingo",
|
130 |
+
"118": "dhole",
|
131 |
+
"119": "african_hunting_dog"
|
132 |
+
},
|
133 |
+
"image_size": 224,
|
134 |
+
"initializer_range": 0.02,
|
135 |
+
"intermediate_size": 3072,
|
136 |
+
"label2id": {
|
137 |
+
"affenpinscher": 100,
|
138 |
+
"afghan_hound": 9,
|
139 |
+
"african_hunting_dog": 119,
|
140 |
+
"airedale": 40,
|
141 |
+
"american_staffordshire_terrier": 29,
|
142 |
+
"appenzeller": 89,
|
143 |
+
"australian_terrier": 42,
|
144 |
+
"basenji": 101,
|
145 |
+
"basset": 10,
|
146 |
+
"beagle": 11,
|
147 |
+
"bedlington_terrier": 30,
|
148 |
+
"bernese_mountain_dog": 88,
|
149 |
+
"black": 14,
|
150 |
+
"blenheim_spaniel": 5,
|
151 |
+
"bloodhound": 12,
|
152 |
+
"bluetick": 13,
|
153 |
+
"border_collie": 81,
|
154 |
+
"border_terrier": 31,
|
155 |
+
"borzoi": 18,
|
156 |
+
"boston_bull": 44,
|
157 |
+
"bouvier_des_flandres": 82,
|
158 |
+
"boxer": 91,
|
159 |
+
"brabancon_griffon": 110,
|
160 |
+
"briard": 75,
|
161 |
+
"brittany_spaniel": 64,
|
162 |
+
"bull_mastiff": 92,
|
163 |
+
"cairn": 41,
|
164 |
+
"cardigan": 112,
|
165 |
+
"chesapeake_bay_retriever": 58,
|
166 |
+
"chihuahua": 0,
|
167 |
+
"chow": 108,
|
168 |
+
"clumber": 65,
|
169 |
+
"cocker_spaniel": 68,
|
170 |
+
"collie": 80,
|
171 |
+
"curly": 55,
|
172 |
+
"dandie_dinmont": 43,
|
173 |
+
"dhole": 118,
|
174 |
+
"dingo": 117,
|
175 |
+
"doberman": 85,
|
176 |
+
"english_foxhound": 16,
|
177 |
+
"english_setter": 61,
|
178 |
+
"english_springer": 66,
|
179 |
+
"entlebucher": 90,
|
180 |
+
"eskimo_dog": 97,
|
181 |
+
"flat": 54,
|
182 |
+
"french_bulldog": 94,
|
183 |
+
"german_shepherd": 84,
|
184 |
+
"german_short": 59,
|
185 |
+
"giant_schnauzer": 46,
|
186 |
+
"golden_retriever": 56,
|
187 |
+
"gordon_setter": 63,
|
188 |
+
"great_dane": 95,
|
189 |
+
"great_pyrenees": 105,
|
190 |
+
"greater_swiss_mountain_dog": 87,
|
191 |
+
"groenendael": 73,
|
192 |
+
"ibizan_hound": 22,
|
193 |
+
"irish_setter": 62,
|
194 |
+
"irish_terrier": 33,
|
195 |
+
"irish_water_spaniel": 70,
|
196 |
+
"irish_wolfhound": 19,
|
197 |
+
"italian_greyhound": 20,
|
198 |
+
"japanese_spaniel": 1,
|
199 |
+
"keeshond": 109,
|
200 |
+
"kelpie": 76,
|
201 |
+
"kerry_blue_terrier": 32,
|
202 |
+
"komondor": 77,
|
203 |
+
"kuvasz": 71,
|
204 |
+
"labrador_retriever": 57,
|
205 |
+
"lakeland_terrier": 38,
|
206 |
+
"leonberg": 103,
|
207 |
+
"lhasa": 53,
|
208 |
+
"malamute": 98,
|
209 |
+
"malinois": 74,
|
210 |
+
"maltese_dog": 2,
|
211 |
+
"mexican_hairless": 116,
|
212 |
+
"miniature_pinscher": 86,
|
213 |
+
"miniature_poodle": 114,
|
214 |
+
"miniature_schnauzer": 45,
|
215 |
+
"newfoundland": 104,
|
216 |
+
"norfolk_terrier": 34,
|
217 |
+
"norwegian_elkhound": 23,
|
218 |
+
"norwich_terrier": 35,
|
219 |
+
"old_english_sheepdog": 78,
|
220 |
+
"otterhound": 24,
|
221 |
+
"papillon": 6,
|
222 |
+
"pekinese": 3,
|
223 |
+
"pembroke": 111,
|
224 |
+
"pomeranian": 107,
|
225 |
+
"pug": 102,
|
226 |
+
"redbone": 17,
|
227 |
+
"rhodesian_ridgeback": 8,
|
228 |
+
"rottweiler": 83,
|
229 |
+
"saint_bernard": 96,
|
230 |
+
"saluki": 25,
|
231 |
+
"samoyed": 106,
|
232 |
+
"schipperke": 72,
|
233 |
+
"scotch_terrier": 48,
|
234 |
+
"scottish_deerhound": 26,
|
235 |
+
"sealyham_terrier": 39,
|
236 |
+
"shetland_sheepdog": 79,
|
237 |
+
"shih": 4,
|
238 |
+
"siberian_husky": 99,
|
239 |
+
"silky_terrier": 50,
|
240 |
+
"soft": 51,
|
241 |
+
"staffordshire_bullterrier": 28,
|
242 |
+
"standard_poodle": 115,
|
243 |
+
"standard_schnauzer": 47,
|
244 |
+
"sussex_spaniel": 69,
|
245 |
+
"tibetan_mastiff": 93,
|
246 |
+
"tibetan_terrier": 49,
|
247 |
+
"toy_poodle": 113,
|
248 |
+
"toy_terrier": 7,
|
249 |
+
"vizsla": 60,
|
250 |
+
"walker_hound": 15,
|
251 |
+
"weimaraner": 27,
|
252 |
+
"welsh_springer_spaniel": 67,
|
253 |
+
"west_highland_white_terrier": 52,
|
254 |
+
"whippet": 21,
|
255 |
+
"wire": 37,
|
256 |
+
"yorkshire_terrier": 36
|
257 |
+
},
|
258 |
+
"layer_norm_eps": 1e-12,
|
259 |
+
"model_type": "vit",
|
260 |
+
"num_attention_heads": 12,
|
261 |
+
"num_channels": 3,
|
262 |
+
"num_hidden_layers": 12,
|
263 |
+
"patch_size": 16,
|
264 |
+
"problem_type": "single_label_classification",
|
265 |
+
"qkv_bias": true,
|
266 |
+
"torch_dtype": "float32",
|
267 |
+
"transformers_version": "4.28.1"
|
268 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61dc2150458440137b8b17b775b2ee3bfc31048c85444078d3d4f730b9726dcf
|
3 |
+
size 687288709
|
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.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
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:b457578c69a0d6037b27f9d16d4e04a1d2b2c842308bb3fae047656d116054ee
|
3 |
+
size 343628909
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5109e08295ec457bd444c73df2b91ea091459c68e440d157572b04e7050331a
|
3 |
+
size 13553
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9fe20bb773222c07b057b09c06618d60d4316c6cd20bd5076e13c003aa425020
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 3.74515962600708,
|
3 |
+
"best_model_checkpoint": "./results\\checkpoint-317",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"global_step": 317,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"eval_accuracy": 0.7662779397473275,
|
13 |
+
"eval_f1": 0.737623875891686,
|
14 |
+
"eval_loss": 3.74515962600708,
|
15 |
+
"eval_runtime": 442.185,
|
16 |
+
"eval_samples_per_second": 4.654,
|
17 |
+
"eval_steps_per_second": 0.09,
|
18 |
+
"eval_top3_accuracy": 0.9382896015549077,
|
19 |
+
"eval_top5_accuracy": 0.966958211856171,
|
20 |
+
"step": 317
|
21 |
+
}
|
22 |
+
],
|
23 |
+
"max_steps": 317,
|
24 |
+
"num_train_epochs": 1,
|
25 |
+
"total_flos": 1.2770998546458378e+18,
|
26 |
+
"trial_name": null,
|
27 |
+
"trial_params": null
|
28 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fb3223a1f107acb1ce8859f9f0620b919f98ce478190ae0be8a7b5f2e134941
|
3 |
+
size 3579
|