Unspoiled-Egg commited on
Commit
4806f82
1 Parent(s): 1cd8ea8

End of training

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: google/vivit-b-16x2-kinetics400
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: vivit-b-16x2-kinetics400-finetuned-ucf101-subset
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # vivit-b-16x2-kinetics400-finetuned-ucf101-subset
17
+
18
+ This model is a fine-tuned version of [google/vivit-b-16x2-kinetics400](https://huggingface.co/google/vivit-b-16x2-kinetics400) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0122
21
+ - Accuracy: 1.0
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 4
42
+ - eval_batch_size: 4
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_ratio: 0.1
47
+ - training_steps: 375
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 0.0065 | 0.8 | 300 | 0.0056 | 1.0 |
54
+ | 0.0144 | 1.2 | 375 | 0.0057 | 1.0 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.42.4
60
+ - Pytorch 1.13.1+cu117
61
+ - Datasets 2.20.0
62
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.2,
3
+ "eval_accuracy": 1.0,
4
+ "eval_loss": 0.0121864452958107,
5
+ "eval_runtime": 60.6886,
6
+ "eval_samples_per_second": 1.434,
7
+ "eval_steps_per_second": 0.363
8
+ }
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vivit-b-16x2-kinetics400",
3
+ "architectures": [
4
+ "VivitForVideoClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "hidden_act": "gelu_fast",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "ApplyEyeMakeup",
12
+ "1": "ApplyLipstick",
13
+ "2": "Archery",
14
+ "3": "BabyCrawling",
15
+ "4": "BalanceBeam",
16
+ "5": "BandMarching",
17
+ "6": "BaseballPitch",
18
+ "7": "Basketball",
19
+ "8": "BasketballDunk",
20
+ "9": "BenchPress"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "ApplyEyeMakeup": 0,
27
+ "ApplyLipstick": 1,
28
+ "Archery": 2,
29
+ "BabyCrawling": 3,
30
+ "BalanceBeam": 4,
31
+ "BandMarching": 5,
32
+ "BaseballPitch": 6,
33
+ "Basketball": 7,
34
+ "BasketballDunk": 8,
35
+ "BenchPress": 9
36
+ },
37
+ "layer_norm_eps": 1e-06,
38
+ "model_type": "vivit",
39
+ "num_attention_heads": 12,
40
+ "num_channels": 3,
41
+ "num_frames": 32,
42
+ "num_hidden_layers": 12,
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.42.4",
46
+ "tubelet_size": [
47
+ 2,
48
+ 16,
49
+ 16
50
+ ],
51
+ "video_size": [
52
+ 32,
53
+ 224,
54
+ 224
55
+ ]
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07a6f2479c99535f04986b5615705fdfe7ff8e3c7f9f52c36edf747cf6f73a17
3
+ size 354639992
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "VivitImageProcessor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "offset": true,
22
+ "resample": 2,
23
+ "rescale_factor": 0.00784313725490196,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
runs/Aug10_11-25-46_c82016455c61/events.out.tfevents.1723289161.c82016455c61.1590.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:675c5944b314f50ba7e4426be2428c02203bedd713af9741a56b392bcf6d0537
3
+ size 17028
runs/Aug10_11-31-50_c82016455c61/events.out.tfevents.1723289519.c82016455c61.1590.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bc371ddc3b3ab936c6d54d1ee0860d9d8a5ad97986a50dddd8e2e0690848dc0
3
+ size 24912
runs/Aug10_11-31-50_c82016455c61/events.out.tfevents.1723290472.c82016455c61.1590.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e1438e1c456368bb827b1a54e369ceb446ef2d4f2ff754e5d9c7da955e008e8
3
+ size 411
test_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.2,
3
+ "eval_accuracy": 1.0,
4
+ "eval_loss": 0.0121864452958107,
5
+ "eval_runtime": 60.6886,
6
+ "eval_samples_per_second": 1.434,
7
+ "eval_steps_per_second": 0.363
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.0,
3
+ "best_model_checkpoint": "vivit-b-16x2-kinetics400-finetuned-ucf101-subset/checkpoint-300",
4
+ "epoch": 1.2,
5
+ "eval_steps": 500,
6
+ "global_step": 375,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.02666666666666667,
13
+ "grad_norm": 26.16057777404785,
14
+ "learning_rate": 1.3157894736842106e-05,
15
+ "loss": 1.6354,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.05333333333333334,
20
+ "grad_norm": 31.77731704711914,
21
+ "learning_rate": 2.6315789473684212e-05,
22
+ "loss": 1.7847,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.08,
27
+ "grad_norm": 27.00013542175293,
28
+ "learning_rate": 3.9473684210526316e-05,
29
+ "loss": 1.3461,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.10666666666666667,
34
+ "grad_norm": 14.085402488708496,
35
+ "learning_rate": 4.9703264094955494e-05,
36
+ "loss": 0.9455,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.13333333333333333,
41
+ "grad_norm": 3.935500144958496,
42
+ "learning_rate": 4.821958456973294e-05,
43
+ "loss": 0.8311,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.16,
48
+ "grad_norm": 45.854618072509766,
49
+ "learning_rate": 4.673590504451038e-05,
50
+ "loss": 1.1512,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.18666666666666668,
55
+ "grad_norm": 19.03603172302246,
56
+ "learning_rate": 4.525222551928784e-05,
57
+ "loss": 1.0856,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.21333333333333335,
62
+ "grad_norm": 25.127504348754883,
63
+ "learning_rate": 4.3768545994065286e-05,
64
+ "loss": 0.2805,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.24,
69
+ "grad_norm": 0.52326899766922,
70
+ "learning_rate": 4.228486646884273e-05,
71
+ "loss": 0.2028,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.26666666666666666,
76
+ "grad_norm": 13.136799812316895,
77
+ "learning_rate": 4.080118694362018e-05,
78
+ "loss": 0.1505,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.29333333333333333,
83
+ "grad_norm": 0.46199002861976624,
84
+ "learning_rate": 3.9317507418397627e-05,
85
+ "loss": 0.3442,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.32,
90
+ "grad_norm": 0.3813219666481018,
91
+ "learning_rate": 3.783382789317508e-05,
92
+ "loss": 0.1747,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.3466666666666667,
97
+ "grad_norm": 0.13699372112751007,
98
+ "learning_rate": 3.635014836795252e-05,
99
+ "loss": 0.0875,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.37333333333333335,
104
+ "grad_norm": 0.09683661162853241,
105
+ "learning_rate": 3.4866468842729974e-05,
106
+ "loss": 0.1574,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.4,
111
+ "grad_norm": 0.08154939115047455,
112
+ "learning_rate": 3.338278931750742e-05,
113
+ "loss": 0.098,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.4266666666666667,
118
+ "grad_norm": 0.6680712103843689,
119
+ "learning_rate": 3.189910979228487e-05,
120
+ "loss": 0.0165,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.4533333333333333,
125
+ "grad_norm": 0.25971299409866333,
126
+ "learning_rate": 3.0415430267062318e-05,
127
+ "loss": 0.0104,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.48,
132
+ "grad_norm": 0.10908322036266327,
133
+ "learning_rate": 2.8931750741839762e-05,
134
+ "loss": 0.0242,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.5066666666666667,
139
+ "grad_norm": 61.5093879699707,
140
+ "learning_rate": 2.744807121661721e-05,
141
+ "loss": 0.4965,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.5333333333333333,
146
+ "grad_norm": 0.12317054718732834,
147
+ "learning_rate": 2.5964391691394662e-05,
148
+ "loss": 0.05,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.56,
153
+ "grad_norm": 0.24561965465545654,
154
+ "learning_rate": 2.4480712166172106e-05,
155
+ "loss": 0.1434,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 0.5866666666666667,
160
+ "grad_norm": 0.14871960878372192,
161
+ "learning_rate": 2.2997032640949558e-05,
162
+ "loss": 0.182,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.6133333333333333,
167
+ "grad_norm": 0.775602400302887,
168
+ "learning_rate": 2.1513353115727002e-05,
169
+ "loss": 0.0423,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 0.64,
174
+ "grad_norm": 4.5359344482421875,
175
+ "learning_rate": 2.0029673590504454e-05,
176
+ "loss": 0.0139,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.6666666666666666,
181
+ "grad_norm": 0.20286181569099426,
182
+ "learning_rate": 1.85459940652819e-05,
183
+ "loss": 0.0326,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 0.6933333333333334,
188
+ "grad_norm": 0.26207369565963745,
189
+ "learning_rate": 1.706231454005935e-05,
190
+ "loss": 0.1962,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 0.72,
195
+ "grad_norm": 0.42223137617111206,
196
+ "learning_rate": 1.5578635014836794e-05,
197
+ "loss": 0.0079,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 0.7466666666666667,
202
+ "grad_norm": 0.44567418098449707,
203
+ "learning_rate": 1.4094955489614246e-05,
204
+ "loss": 0.0046,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 0.7733333333333333,
209
+ "grad_norm": 0.10151217132806778,
210
+ "learning_rate": 1.2611275964391692e-05,
211
+ "loss": 0.0046,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 0.8,
216
+ "grad_norm": 0.11583764851093292,
217
+ "learning_rate": 1.112759643916914e-05,
218
+ "loss": 0.0065,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 0.8,
223
+ "eval_accuracy": 1.0,
224
+ "eval_loss": 0.005599180702120066,
225
+ "eval_runtime": 26.9077,
226
+ "eval_samples_per_second": 1.375,
227
+ "eval_steps_per_second": 0.372,
228
+ "step": 300
229
+ },
230
+ {
231
+ "epoch": 1.0266666666666666,
232
+ "grad_norm": 0.20267748832702637,
233
+ "learning_rate": 9.643916913946588e-06,
234
+ "loss": 0.2505,
235
+ "step": 310
236
+ },
237
+ {
238
+ "epoch": 1.0533333333333332,
239
+ "grad_norm": 0.060426872223615646,
240
+ "learning_rate": 8.160237388724036e-06,
241
+ "loss": 0.0037,
242
+ "step": 320
243
+ },
244
+ {
245
+ "epoch": 1.08,
246
+ "grad_norm": 0.07203783094882965,
247
+ "learning_rate": 6.676557863501484e-06,
248
+ "loss": 0.105,
249
+ "step": 330
250
+ },
251
+ {
252
+ "epoch": 1.1066666666666667,
253
+ "grad_norm": 0.20766057074069977,
254
+ "learning_rate": 5.192878338278932e-06,
255
+ "loss": 0.004,
256
+ "step": 340
257
+ },
258
+ {
259
+ "epoch": 1.1333333333333333,
260
+ "grad_norm": 0.05093280225992203,
261
+ "learning_rate": 3.7091988130563796e-06,
262
+ "loss": 0.0027,
263
+ "step": 350
264
+ },
265
+ {
266
+ "epoch": 1.16,
267
+ "grad_norm": 0.03602894768118858,
268
+ "learning_rate": 2.225519287833828e-06,
269
+ "loss": 0.0153,
270
+ "step": 360
271
+ },
272
+ {
273
+ "epoch": 1.1866666666666668,
274
+ "grad_norm": 0.07658669352531433,
275
+ "learning_rate": 7.41839762611276e-07,
276
+ "loss": 0.0144,
277
+ "step": 370
278
+ },
279
+ {
280
+ "epoch": 1.2,
281
+ "eval_accuracy": 1.0,
282
+ "eval_loss": 0.005712784361094236,
283
+ "eval_runtime": 26.3265,
284
+ "eval_samples_per_second": 1.405,
285
+ "eval_steps_per_second": 0.38,
286
+ "step": 375
287
+ },
288
+ {
289
+ "epoch": 1.2,
290
+ "step": 375,
291
+ "total_flos": 9.6083444588544e+17,
292
+ "train_loss": 0.3174680873602629,
293
+ "train_runtime": 672.4711,
294
+ "train_samples_per_second": 0.558,
295
+ "train_steps_per_second": 0.558
296
+ },
297
+ {
298
+ "epoch": 1.2,
299
+ "eval_accuracy": 1.0,
300
+ "eval_loss": 0.0121864452958107,
301
+ "eval_runtime": 60.6886,
302
+ "eval_samples_per_second": 1.434,
303
+ "eval_steps_per_second": 0.363,
304
+ "step": 375
305
+ }
306
+ ],
307
+ "logging_steps": 10,
308
+ "max_steps": 375,
309
+ "num_input_tokens_seen": 0,
310
+ "num_train_epochs": 9223372036854775807,
311
+ "save_steps": 500,
312
+ "stateful_callbacks": {
313
+ "TrainerControl": {
314
+ "args": {
315
+ "should_epoch_stop": false,
316
+ "should_evaluate": false,
317
+ "should_log": false,
318
+ "should_save": true,
319
+ "should_training_stop": true
320
+ },
321
+ "attributes": {}
322
+ }
323
+ },
324
+ "total_flos": 9.6083444588544e+17,
325
+ "train_batch_size": 1,
326
+ "trial_name": null,
327
+ "trial_params": null
328
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6627cf65adbdf92aece9aff9d7757864e0c09d100cbac728a50b094f4fbee8f
3
+ size 4731