dangle124 commited on
Commit
a107a9e
1 Parent(s): 9c4db7c

Training in progress, epoch 1

Browse files
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
all_results.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.9532908704883227,
3
+ "eval_loss": 0.16175414621829987
4
+ }
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "MCG-NJU/videomae-base",
3
+ "architectures": [
4
+ "VideoMAEForVideoClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "decoder_hidden_size": 384,
8
+ "decoder_intermediate_size": 1536,
9
+ "decoder_num_attention_heads": 6,
10
+ "decoder_num_hidden_layers": 4,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.0,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "NonViolence",
16
+ "1": "Violence"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "NonViolence": 0,
23
+ "Violence": 1
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "model_type": "videomae",
27
+ "norm_pix_loss": true,
28
+ "num_attention_heads": 12,
29
+ "num_channels": 3,
30
+ "num_frames": 16,
31
+ "num_hidden_layers": 12,
32
+ "patch_size": 16,
33
+ "problem_type": "single_label_classification",
34
+ "qkv_bias": true,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.27.2",
37
+ "tubelet_size": 2,
38
+ "use_mean_pooling": false
39
+ }
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
+ "feature_extractor_type": "VideoMAEFeatureExtractor",
11
+ "image_mean": [
12
+ 0.485,
13
+ 0.456,
14
+ 0.406
15
+ ],
16
+ "image_processor_type": "VideoMAEFeatureExtractor",
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 2,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9e92b3d79a6859d90f7d1df6d09641f5645a7f65c86701c7335accc85b1a96f
3
+ size 344976373
test_results.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.9532908704883227,
3
+ "eval_loss": 0.16175414621829987
4
+ }
trainer_state.json ADDED
@@ -0,0 +1,559 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9624664879356568,
3
+ "best_model_checkpoint": "videomae-base-finetuned-RealLifeViolenceSituations-subset/checkpoint-400",
4
+ "epoch": 1.00125,
5
+ "global_step": 801,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.01,
12
+ "learning_rate": 2.7083333333333332e-05,
13
+ "loss": 0.1898,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.03,
18
+ "learning_rate": 2.6388888888888892e-05,
19
+ "loss": 0.0711,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.04,
24
+ "learning_rate": 2.5694444444444445e-05,
25
+ "loss": 0.2212,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.05,
30
+ "learning_rate": 2.5e-05,
31
+ "loss": 0.007,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.06,
36
+ "learning_rate": 2.4305555555555558e-05,
37
+ "loss": 0.0788,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 0.07,
42
+ "learning_rate": 2.361111111111111e-05,
43
+ "loss": 0.0797,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 0.09,
48
+ "learning_rate": 2.2916666666666667e-05,
49
+ "loss": 0.1241,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 0.1,
54
+ "learning_rate": 2.2222222222222223e-05,
55
+ "loss": 0.0802,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 0.11,
60
+ "learning_rate": 2.152777777777778e-05,
61
+ "loss": 0.1921,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 0.12,
66
+ "learning_rate": 2.0833333333333336e-05,
67
+ "loss": 0.0206,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 0.14,
72
+ "learning_rate": 2.013888888888889e-05,
73
+ "loss": 0.0651,
74
+ "step": 110
75
+ },
76
+ {
77
+ "epoch": 0.15,
78
+ "learning_rate": 1.9444444444444445e-05,
79
+ "loss": 0.0225,
80
+ "step": 120
81
+ },
82
+ {
83
+ "epoch": 0.16,
84
+ "learning_rate": 1.8750000000000002e-05,
85
+ "loss": 0.0067,
86
+ "step": 130
87
+ },
88
+ {
89
+ "epoch": 0.17,
90
+ "learning_rate": 1.8055555555555555e-05,
91
+ "loss": 0.0726,
92
+ "step": 140
93
+ },
94
+ {
95
+ "epoch": 0.19,
96
+ "learning_rate": 1.736111111111111e-05,
97
+ "loss": 0.1615,
98
+ "step": 150
99
+ },
100
+ {
101
+ "epoch": 0.2,
102
+ "learning_rate": 1.6666666666666667e-05,
103
+ "loss": 0.0143,
104
+ "step": 160
105
+ },
106
+ {
107
+ "epoch": 0.21,
108
+ "learning_rate": 1.597222222222222e-05,
109
+ "loss": 0.1015,
110
+ "step": 170
111
+ },
112
+ {
113
+ "epoch": 0.23,
114
+ "learning_rate": 1.527777777777778e-05,
115
+ "loss": 0.0444,
116
+ "step": 180
117
+ },
118
+ {
119
+ "epoch": 0.24,
120
+ "learning_rate": 1.4583333333333335e-05,
121
+ "loss": 0.0842,
122
+ "step": 190
123
+ },
124
+ {
125
+ "epoch": 0.25,
126
+ "learning_rate": 1.388888888888889e-05,
127
+ "loss": 0.1065,
128
+ "step": 200
129
+ },
130
+ {
131
+ "epoch": 0.25,
132
+ "eval_accuracy": 0.9597855227882037,
133
+ "eval_loss": 0.1469525396823883,
134
+ "eval_runtime": 797.6638,
135
+ "eval_samples_per_second": 0.468,
136
+ "eval_steps_per_second": 0.059,
137
+ "step": 200
138
+ },
139
+ {
140
+ "epoch": 1.01,
141
+ "learning_rate": 1.3194444444444446e-05,
142
+ "loss": 0.15,
143
+ "step": 210
144
+ },
145
+ {
146
+ "epoch": 1.02,
147
+ "learning_rate": 1.25e-05,
148
+ "loss": 0.0802,
149
+ "step": 220
150
+ },
151
+ {
152
+ "epoch": 1.04,
153
+ "learning_rate": 1.1805555555555555e-05,
154
+ "loss": 0.0472,
155
+ "step": 230
156
+ },
157
+ {
158
+ "epoch": 1.05,
159
+ "learning_rate": 1.1111111111111112e-05,
160
+ "loss": 0.0397,
161
+ "step": 240
162
+ },
163
+ {
164
+ "epoch": 1.06,
165
+ "learning_rate": 1.0416666666666668e-05,
166
+ "loss": 0.2298,
167
+ "step": 250
168
+ },
169
+ {
170
+ "epoch": 1.07,
171
+ "learning_rate": 9.722222222222223e-06,
172
+ "loss": 0.207,
173
+ "step": 260
174
+ },
175
+ {
176
+ "epoch": 1.09,
177
+ "learning_rate": 9.027777777777777e-06,
178
+ "loss": 0.0975,
179
+ "step": 270
180
+ },
181
+ {
182
+ "epoch": 1.1,
183
+ "learning_rate": 8.333333333333334e-06,
184
+ "loss": 0.1434,
185
+ "step": 280
186
+ },
187
+ {
188
+ "epoch": 1.11,
189
+ "learning_rate": 7.63888888888889e-06,
190
+ "loss": 0.0511,
191
+ "step": 290
192
+ },
193
+ {
194
+ "epoch": 1.12,
195
+ "learning_rate": 6.944444444444445e-06,
196
+ "loss": 0.0115,
197
+ "step": 300
198
+ },
199
+ {
200
+ "epoch": 1.14,
201
+ "learning_rate": 6.25e-06,
202
+ "loss": 0.0294,
203
+ "step": 310
204
+ },
205
+ {
206
+ "epoch": 1.15,
207
+ "learning_rate": 5.555555555555556e-06,
208
+ "loss": 0.2199,
209
+ "step": 320
210
+ },
211
+ {
212
+ "epoch": 1.16,
213
+ "learning_rate": 4.861111111111111e-06,
214
+ "loss": 0.1026,
215
+ "step": 330
216
+ },
217
+ {
218
+ "epoch": 1.18,
219
+ "learning_rate": 4.166666666666667e-06,
220
+ "loss": 0.1386,
221
+ "step": 340
222
+ },
223
+ {
224
+ "epoch": 1.19,
225
+ "learning_rate": 3.4722222222222224e-06,
226
+ "loss": 0.0015,
227
+ "step": 350
228
+ },
229
+ {
230
+ "epoch": 1.2,
231
+ "learning_rate": 2.777777777777778e-06,
232
+ "loss": 0.0329,
233
+ "step": 360
234
+ },
235
+ {
236
+ "epoch": 1.21,
237
+ "learning_rate": 2.0833333333333334e-06,
238
+ "loss": 0.1884,
239
+ "step": 370
240
+ },
241
+ {
242
+ "epoch": 1.23,
243
+ "learning_rate": 1.388888888888889e-06,
244
+ "loss": 0.063,
245
+ "step": 380
246
+ },
247
+ {
248
+ "epoch": 1.24,
249
+ "learning_rate": 6.944444444444445e-07,
250
+ "loss": 0.0044,
251
+ "step": 390
252
+ },
253
+ {
254
+ "epoch": 1.25,
255
+ "learning_rate": 0.0,
256
+ "loss": 0.067,
257
+ "step": 400
258
+ },
259
+ {
260
+ "epoch": 1.25,
261
+ "eval_accuracy": 0.9624664879356568,
262
+ "eval_loss": 0.1415206491947174,
263
+ "eval_runtime": 805.592,
264
+ "eval_samples_per_second": 0.463,
265
+ "eval_steps_per_second": 0.058,
266
+ "step": 400
267
+ },
268
+ {
269
+ "epoch": 2.01,
270
+ "learning_rate": 0.0,
271
+ "loss": 0.0037,
272
+ "step": 410
273
+ },
274
+ {
275
+ "epoch": 2.02,
276
+ "learning_rate": 0.0,
277
+ "loss": 0.0683,
278
+ "step": 420
279
+ },
280
+ {
281
+ "epoch": 2.04,
282
+ "learning_rate": 0.0,
283
+ "loss": 0.0159,
284
+ "step": 430
285
+ },
286
+ {
287
+ "epoch": 2.05,
288
+ "learning_rate": 0.0,
289
+ "loss": 0.0406,
290
+ "step": 440
291
+ },
292
+ {
293
+ "epoch": 2.06,
294
+ "learning_rate": 0.0,
295
+ "loss": 0.0719,
296
+ "step": 450
297
+ },
298
+ {
299
+ "epoch": 2.08,
300
+ "learning_rate": 0.0,
301
+ "loss": 0.2585,
302
+ "step": 460
303
+ },
304
+ {
305
+ "epoch": 2.09,
306
+ "learning_rate": 0.0,
307
+ "loss": 0.0222,
308
+ "step": 470
309
+ },
310
+ {
311
+ "epoch": 2.1,
312
+ "learning_rate": 0.0,
313
+ "loss": 0.0742,
314
+ "step": 480
315
+ },
316
+ {
317
+ "epoch": 2.11,
318
+ "learning_rate": 0.0,
319
+ "loss": 0.0088,
320
+ "step": 490
321
+ },
322
+ {
323
+ "epoch": 2.12,
324
+ "learning_rate": 0.0,
325
+ "loss": 0.0085,
326
+ "step": 500
327
+ },
328
+ {
329
+ "epoch": 2.14,
330
+ "learning_rate": 0.0,
331
+ "loss": 0.0046,
332
+ "step": 510
333
+ },
334
+ {
335
+ "epoch": 2.15,
336
+ "learning_rate": 0.0,
337
+ "loss": 0.0205,
338
+ "step": 520
339
+ },
340
+ {
341
+ "epoch": 2.16,
342
+ "learning_rate": 0.0,
343
+ "loss": 0.0954,
344
+ "step": 530
345
+ },
346
+ {
347
+ "epoch": 2.17,
348
+ "learning_rate": 0.0,
349
+ "loss": 0.1016,
350
+ "step": 540
351
+ },
352
+ {
353
+ "epoch": 2.19,
354
+ "learning_rate": 0.0,
355
+ "loss": 0.0768,
356
+ "step": 550
357
+ },
358
+ {
359
+ "epoch": 2.2,
360
+ "learning_rate": 0.0,
361
+ "loss": 0.0799,
362
+ "step": 560
363
+ },
364
+ {
365
+ "epoch": 2.21,
366
+ "learning_rate": 0.0,
367
+ "loss": 0.0762,
368
+ "step": 570
369
+ },
370
+ {
371
+ "epoch": 2.23,
372
+ "learning_rate": 0.0,
373
+ "loss": 0.0028,
374
+ "step": 580
375
+ },
376
+ {
377
+ "epoch": 2.24,
378
+ "learning_rate": 0.0,
379
+ "loss": 0.1537,
380
+ "step": 590
381
+ },
382
+ {
383
+ "epoch": 2.25,
384
+ "learning_rate": 0.0,
385
+ "loss": 0.0058,
386
+ "step": 600
387
+ },
388
+ {
389
+ "epoch": 2.25,
390
+ "eval_accuracy": 0.9624664879356568,
391
+ "eval_loss": 0.1415206491947174,
392
+ "eval_runtime": 825.0942,
393
+ "eval_samples_per_second": 0.452,
394
+ "eval_steps_per_second": 0.057,
395
+ "step": 600
396
+ },
397
+ {
398
+ "epoch": 3.01,
399
+ "learning_rate": 0.0,
400
+ "loss": 0.0106,
401
+ "step": 610
402
+ },
403
+ {
404
+ "epoch": 3.02,
405
+ "learning_rate": 0.0,
406
+ "loss": 0.0877,
407
+ "step": 620
408
+ },
409
+ {
410
+ "epoch": 3.04,
411
+ "learning_rate": 0.0,
412
+ "loss": 0.0056,
413
+ "step": 630
414
+ },
415
+ {
416
+ "epoch": 3.05,
417
+ "learning_rate": 0.0,
418
+ "loss": 0.0712,
419
+ "step": 640
420
+ },
421
+ {
422
+ "epoch": 3.06,
423
+ "learning_rate": 0.0,
424
+ "loss": 0.0045,
425
+ "step": 650
426
+ },
427
+ {
428
+ "epoch": 3.08,
429
+ "learning_rate": 0.0,
430
+ "loss": 0.051,
431
+ "step": 660
432
+ },
433
+ {
434
+ "epoch": 3.09,
435
+ "learning_rate": 0.0,
436
+ "loss": 0.0953,
437
+ "step": 670
438
+ },
439
+ {
440
+ "epoch": 3.1,
441
+ "learning_rate": 0.0,
442
+ "loss": 0.0815,
443
+ "step": 680
444
+ },
445
+ {
446
+ "epoch": 3.11,
447
+ "learning_rate": 0.0,
448
+ "loss": 0.1176,
449
+ "step": 690
450
+ },
451
+ {
452
+ "epoch": 3.12,
453
+ "learning_rate": 0.0,
454
+ "loss": 0.1597,
455
+ "step": 700
456
+ },
457
+ {
458
+ "epoch": 3.14,
459
+ "learning_rate": 0.0,
460
+ "loss": 0.0417,
461
+ "step": 710
462
+ },
463
+ {
464
+ "epoch": 3.15,
465
+ "learning_rate": 0.0,
466
+ "loss": 0.0023,
467
+ "step": 720
468
+ },
469
+ {
470
+ "epoch": 3.16,
471
+ "learning_rate": 0.0,
472
+ "loss": 0.0292,
473
+ "step": 730
474
+ },
475
+ {
476
+ "epoch": 3.17,
477
+ "learning_rate": 0.0,
478
+ "loss": 0.0133,
479
+ "step": 740
480
+ },
481
+ {
482
+ "epoch": 3.19,
483
+ "learning_rate": 0.0,
484
+ "loss": 0.0347,
485
+ "step": 750
486
+ },
487
+ {
488
+ "epoch": 3.2,
489
+ "learning_rate": 0.0,
490
+ "loss": 0.0022,
491
+ "step": 760
492
+ },
493
+ {
494
+ "epoch": 3.21,
495
+ "learning_rate": 0.0,
496
+ "loss": 0.0083,
497
+ "step": 770
498
+ },
499
+ {
500
+ "epoch": 3.23,
501
+ "learning_rate": 0.0,
502
+ "loss": 0.0046,
503
+ "step": 780
504
+ },
505
+ {
506
+ "epoch": 3.24,
507
+ "learning_rate": 0.0,
508
+ "loss": 0.0067,
509
+ "step": 790
510
+ },
511
+ {
512
+ "epoch": 3.25,
513
+ "learning_rate": 0.0,
514
+ "loss": 0.0274,
515
+ "step": 800
516
+ },
517
+ {
518
+ "epoch": 3.25,
519
+ "eval_accuracy": 0.9624664879356568,
520
+ "eval_loss": 0.1415206491947174,
521
+ "eval_runtime": 788.2208,
522
+ "eval_samples_per_second": 0.473,
523
+ "eval_steps_per_second": 0.06,
524
+ "step": 800
525
+ },
526
+ {
527
+ "epoch": 1.0,
528
+ "eval_accuracy": 0.9532908704883227,
529
+ "eval_loss": 0.16175414621829987,
530
+ "eval_runtime": 1014.572,
531
+ "eval_samples_per_second": 0.464,
532
+ "eval_steps_per_second": 0.058,
533
+ "step": 801
534
+ },
535
+ {
536
+ "epoch": 1.0,
537
+ "eval_accuracy": 0.9567779960707269,
538
+ "eval_loss": 0.14998553693294525,
539
+ "eval_runtime": 1046.019,
540
+ "eval_samples_per_second": 0.487,
541
+ "eval_steps_per_second": 0.061,
542
+ "step": 801
543
+ },
544
+ {
545
+ "epoch": 1.0,
546
+ "eval_accuracy": 0.9532908704883227,
547
+ "eval_loss": 0.16175414621829987,
548
+ "eval_runtime": 943.6241,
549
+ "eval_samples_per_second": 0.499,
550
+ "eval_steps_per_second": 0.063,
551
+ "step": 801
552
+ }
553
+ ],
554
+ "max_steps": 800,
555
+ "num_train_epochs": 9223372036854775807,
556
+ "total_flos": 7.974813372619162e+18,
557
+ "trial_name": null,
558
+ "trial_params": null
559
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f6754a8f052052ad8f974c3e5d12b54a42912f437a16a8e583c8cdf44f6a4f8
3
+ size 3643