dima806 commited on
Commit
7d6c060
1 Parent(s): 3c26143

Upload folder using huggingface_hub

Browse files
checkpoint-690/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "flat",
13
+ "1": "no-tire",
14
+ "2": "full"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "flat": 0,
21
+ "full": 2,
22
+ "no-tire": 1
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.34.0"
34
+ }
checkpoint-690/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d2ae52ab552230e40503e40c847d1451c4eaa42cb0d942c488814c4dffdd07d
3
+ size 686574597
checkpoint-690/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
+ }
checkpoint-690/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02e93bbc4059a651885ea081499a0b833f9f2f44f9480d3a868a14744e108231
3
+ size 343271789
checkpoint-690/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:833cf325b72cacc2627ce96fea33ff879fdcabe6371ce56821bfaaaa6d838887
3
+ size 14575
checkpoint-690/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:253afb65be36c3882771b5b4f9d99c2cec82ad6527f5a7fa52ec2d5392463835
3
+ size 627
checkpoint-690/trainer_state.json ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.04432280734181404,
3
+ "best_model_checkpoint": "full_flat_tyre_image_detection/checkpoint-690",
4
+ "epoch": 30.0,
5
+ "eval_steps": 500,
6
+ "global_step": 690,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.5222222222222223,
14
+ "eval_loss": 1.0643823146820068,
15
+ "eval_runtime": 1.6718,
16
+ "eval_samples_per_second": 107.668,
17
+ "eval_steps_per_second": 13.758,
18
+ "step": 23
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.7555555555555555,
23
+ "eval_loss": 0.9423885941505432,
24
+ "eval_runtime": 1.8051,
25
+ "eval_samples_per_second": 99.72,
26
+ "eval_steps_per_second": 12.742,
27
+ "step": 46
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.8833333333333333,
32
+ "eval_loss": 0.7398980259895325,
33
+ "eval_runtime": 1.7037,
34
+ "eval_samples_per_second": 105.65,
35
+ "eval_steps_per_second": 13.5,
36
+ "step": 69
37
+ },
38
+ {
39
+ "epoch": 4.0,
40
+ "eval_accuracy": 0.9555555555555556,
41
+ "eval_loss": 0.5367714166641235,
42
+ "eval_runtime": 1.6792,
43
+ "eval_samples_per_second": 107.196,
44
+ "eval_steps_per_second": 13.697,
45
+ "step": 92
46
+ },
47
+ {
48
+ "epoch": 5.0,
49
+ "eval_accuracy": 0.9888888888888889,
50
+ "eval_loss": 0.3643207252025604,
51
+ "eval_runtime": 1.6899,
52
+ "eval_samples_per_second": 106.516,
53
+ "eval_steps_per_second": 13.61,
54
+ "step": 115
55
+ },
56
+ {
57
+ "epoch": 6.0,
58
+ "eval_accuracy": 1.0,
59
+ "eval_loss": 0.228352352976799,
60
+ "eval_runtime": 1.6604,
61
+ "eval_samples_per_second": 108.406,
62
+ "eval_steps_per_second": 13.852,
63
+ "step": 138
64
+ },
65
+ {
66
+ "epoch": 7.0,
67
+ "eval_accuracy": 1.0,
68
+ "eval_loss": 0.16005060076713562,
69
+ "eval_runtime": 1.7073,
70
+ "eval_samples_per_second": 105.431,
71
+ "eval_steps_per_second": 13.472,
72
+ "step": 161
73
+ },
74
+ {
75
+ "epoch": 8.0,
76
+ "eval_accuracy": 1.0,
77
+ "eval_loss": 0.12633493542671204,
78
+ "eval_runtime": 1.6938,
79
+ "eval_samples_per_second": 106.268,
80
+ "eval_steps_per_second": 13.579,
81
+ "step": 184
82
+ },
83
+ {
84
+ "epoch": 9.0,
85
+ "eval_accuracy": 1.0,
86
+ "eval_loss": 0.10605267435312271,
87
+ "eval_runtime": 1.8025,
88
+ "eval_samples_per_second": 99.86,
89
+ "eval_steps_per_second": 12.76,
90
+ "step": 207
91
+ },
92
+ {
93
+ "epoch": 10.0,
94
+ "eval_accuracy": 1.0,
95
+ "eval_loss": 0.09216185659170151,
96
+ "eval_runtime": 1.6909,
97
+ "eval_samples_per_second": 106.454,
98
+ "eval_steps_per_second": 13.602,
99
+ "step": 230
100
+ },
101
+ {
102
+ "epoch": 11.0,
103
+ "eval_accuracy": 1.0,
104
+ "eval_loss": 0.08246713876724243,
105
+ "eval_runtime": 1.6704,
106
+ "eval_samples_per_second": 107.761,
107
+ "eval_steps_per_second": 13.769,
108
+ "step": 253
109
+ },
110
+ {
111
+ "epoch": 12.0,
112
+ "eval_accuracy": 1.0,
113
+ "eval_loss": 0.07506829500198364,
114
+ "eval_runtime": 1.6742,
115
+ "eval_samples_per_second": 107.512,
116
+ "eval_steps_per_second": 13.738,
117
+ "step": 276
118
+ },
119
+ {
120
+ "epoch": 13.0,
121
+ "eval_accuracy": 1.0,
122
+ "eval_loss": 0.06946949660778046,
123
+ "eval_runtime": 1.6847,
124
+ "eval_samples_per_second": 106.847,
125
+ "eval_steps_per_second": 13.653,
126
+ "step": 299
127
+ },
128
+ {
129
+ "epoch": 14.0,
130
+ "eval_accuracy": 1.0,
131
+ "eval_loss": 0.06499572843313217,
132
+ "eval_runtime": 1.7097,
133
+ "eval_samples_per_second": 105.281,
134
+ "eval_steps_per_second": 13.453,
135
+ "step": 322
136
+ },
137
+ {
138
+ "epoch": 15.0,
139
+ "eval_accuracy": 1.0,
140
+ "eval_loss": 0.06146472319960594,
141
+ "eval_runtime": 1.7057,
142
+ "eval_samples_per_second": 105.529,
143
+ "eval_steps_per_second": 13.484,
144
+ "step": 345
145
+ },
146
+ {
147
+ "epoch": 16.0,
148
+ "eval_accuracy": 1.0,
149
+ "eval_loss": 0.058401159942150116,
150
+ "eval_runtime": 1.7017,
151
+ "eval_samples_per_second": 105.776,
152
+ "eval_steps_per_second": 13.516,
153
+ "step": 368
154
+ },
155
+ {
156
+ "epoch": 17.0,
157
+ "eval_accuracy": 1.0,
158
+ "eval_loss": 0.055977705866098404,
159
+ "eval_runtime": 1.6881,
160
+ "eval_samples_per_second": 106.629,
161
+ "eval_steps_per_second": 13.625,
162
+ "step": 391
163
+ },
164
+ {
165
+ "epoch": 18.0,
166
+ "eval_accuracy": 1.0,
167
+ "eval_loss": 0.053887978196144104,
168
+ "eval_runtime": 1.706,
169
+ "eval_samples_per_second": 105.507,
170
+ "eval_steps_per_second": 13.482,
171
+ "step": 414
172
+ },
173
+ {
174
+ "epoch": 19.0,
175
+ "eval_accuracy": 1.0,
176
+ "eval_loss": 0.052040789276361465,
177
+ "eval_runtime": 1.6677,
178
+ "eval_samples_per_second": 107.932,
179
+ "eval_steps_per_second": 13.791,
180
+ "step": 437
181
+ },
182
+ {
183
+ "epoch": 20.0,
184
+ "eval_accuracy": 1.0,
185
+ "eval_loss": 0.05047665536403656,
186
+ "eval_runtime": 1.8994,
187
+ "eval_samples_per_second": 94.768,
188
+ "eval_steps_per_second": 12.109,
189
+ "step": 460
190
+ },
191
+ {
192
+ "epoch": 21.0,
193
+ "eval_accuracy": 1.0,
194
+ "eval_loss": 0.049176037311553955,
195
+ "eval_runtime": 1.6741,
196
+ "eval_samples_per_second": 107.522,
197
+ "eval_steps_per_second": 13.739,
198
+ "step": 483
199
+ },
200
+ {
201
+ "epoch": 21.74,
202
+ "learning_rate": 2.96875e-06,
203
+ "loss": 0.2308,
204
+ "step": 500
205
+ },
206
+ {
207
+ "epoch": 22.0,
208
+ "eval_accuracy": 1.0,
209
+ "eval_loss": 0.04821457341313362,
210
+ "eval_runtime": 1.7811,
211
+ "eval_samples_per_second": 101.061,
212
+ "eval_steps_per_second": 12.913,
213
+ "step": 506
214
+ },
215
+ {
216
+ "epoch": 23.0,
217
+ "eval_accuracy": 1.0,
218
+ "eval_loss": 0.04721738025546074,
219
+ "eval_runtime": 1.7651,
220
+ "eval_samples_per_second": 101.978,
221
+ "eval_steps_per_second": 13.031,
222
+ "step": 529
223
+ },
224
+ {
225
+ "epoch": 24.0,
226
+ "eval_accuracy": 1.0,
227
+ "eval_loss": 0.0464373379945755,
228
+ "eval_runtime": 1.7241,
229
+ "eval_samples_per_second": 104.404,
230
+ "eval_steps_per_second": 13.34,
231
+ "step": 552
232
+ },
233
+ {
234
+ "epoch": 25.0,
235
+ "eval_accuracy": 1.0,
236
+ "eval_loss": 0.04578012973070145,
237
+ "eval_runtime": 1.7887,
238
+ "eval_samples_per_second": 100.632,
239
+ "eval_steps_per_second": 12.859,
240
+ "step": 575
241
+ },
242
+ {
243
+ "epoch": 26.0,
244
+ "eval_accuracy": 1.0,
245
+ "eval_loss": 0.045272424817085266,
246
+ "eval_runtime": 1.7632,
247
+ "eval_samples_per_second": 102.085,
248
+ "eval_steps_per_second": 13.044,
249
+ "step": 598
250
+ },
251
+ {
252
+ "epoch": 27.0,
253
+ "eval_accuracy": 1.0,
254
+ "eval_loss": 0.04488903656601906,
255
+ "eval_runtime": 1.6851,
256
+ "eval_samples_per_second": 106.816,
257
+ "eval_steps_per_second": 13.649,
258
+ "step": 621
259
+ },
260
+ {
261
+ "epoch": 28.0,
262
+ "eval_accuracy": 1.0,
263
+ "eval_loss": 0.04456831514835358,
264
+ "eval_runtime": 1.6884,
265
+ "eval_samples_per_second": 106.609,
266
+ "eval_steps_per_second": 13.622,
267
+ "step": 644
268
+ },
269
+ {
270
+ "epoch": 29.0,
271
+ "eval_accuracy": 1.0,
272
+ "eval_loss": 0.04438299313187599,
273
+ "eval_runtime": 1.6908,
274
+ "eval_samples_per_second": 106.457,
275
+ "eval_steps_per_second": 13.603,
276
+ "step": 667
277
+ },
278
+ {
279
+ "epoch": 30.0,
280
+ "eval_accuracy": 1.0,
281
+ "eval_loss": 0.04432280734181404,
282
+ "eval_runtime": 1.6905,
283
+ "eval_samples_per_second": 106.477,
284
+ "eval_steps_per_second": 13.605,
285
+ "step": 690
286
+ }
287
+ ],
288
+ "logging_steps": 500,
289
+ "max_steps": 690,
290
+ "num_train_epochs": 30,
291
+ "save_steps": 500,
292
+ "total_flos": 1.6738419776569344e+18,
293
+ "trial_name": null,
294
+ "trial_params": null
295
+ }
checkpoint-690/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1901aedd6acf705091f1126a0eea17ca7538b2712471a9242d78f837f33c5bcf
3
+ size 4027
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "flat",
13
+ "1": "no-tire",
14
+ "2": "full"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "flat": 0,
21
+ "full": 2,
22
+ "no-tire": 1
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.34.0"
34
+ }
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:02e93bbc4059a651885ea081499a0b833f9f2f44f9480d3a868a14744e108231
3
+ size 343271789
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1901aedd6acf705091f1126a0eea17ca7538b2712471a9242d78f837f33c5bcf
3
+ size 4027