Shawon16 commited on
Commit
fbcf44c
·
verified ·
1 Parent(s): 579d481

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ sample.gif filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ base_model: MCG-NJU/videomae-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: working
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # working
20
+
21
+ This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 2.3559
24
+ - Top 1 Accuracy: 0.1562
25
+ - Top 5 Accuracy: 0.5
26
+ - Top 10 Accuracy: 1.0
27
+ - Accuracy: 0.1562
28
+ - Precision: 0.1367
29
+ - Recall: 0.1562
30
+ - F1: 0.0990
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 5e-05
50
+ - train_batch_size: 4
51
+ - eval_batch_size: 4
52
+ - seed: 42
53
+ - gradient_accumulation_steps: 4
54
+ - total_train_batch_size: 16
55
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
56
+ - lr_scheduler_type: linear
57
+ - lr_scheduler_warmup_ratio: 0.1
58
+ - training_steps: 17
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Top 1 Accuracy | Top 5 Accuracy | Top 10 Accuracy | Accuracy | Precision | Recall | F1 |
63
+ |:-------------:|:------:|:----:|:---------------:|:--------------:|:--------------:|:---------------:|:--------:|:---------:|:------:|:------:|
64
+ | No log | 0.4706 | 8 | 2.3478 | 0.0312 | 0.4688 | 1.0 | 0.0312 | 0.0063 | 0.0312 | 0.0104 |
65
+ | No log | 1.4853 | 17 | 2.3559 | 0.1562 | 0.5 | 1.0 | 0.1562 | 0.1367 | 0.1562 | 0.0990 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.44.0
71
+ - Pytorch 1.11.0+cu102
72
+ - Datasets 2.21.0
73
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accuracy": 0.037037037037037035,
3
+ "f1": 0.005925925925925926,
4
+ "precision": 0.00322061191626409,
5
+ "recall": 0.037037037037037035,
6
+ "top_10_accuracy": 1.0,
7
+ "top_1_accuracy": 0.037037037037037035,
8
+ "top_5_accuracy": 0.4074074074074074
9
+ }
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "accident",
16
+ "1": "africa",
17
+ "2": "all",
18
+ "3": "apple",
19
+ "4": "basketball",
20
+ "5": "bed",
21
+ "6": "before",
22
+ "7": "bird",
23
+ "8": "birthday",
24
+ "9": "black"
25
+ },
26
+ "image_size": 224,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "accident": 0,
31
+ "africa": 1,
32
+ "all": 2,
33
+ "apple": 3,
34
+ "basketball": 4,
35
+ "bed": 5,
36
+ "before": 6,
37
+ "bird": 7,
38
+ "birthday": 8,
39
+ "black": 9
40
+ },
41
+ "layer_norm_eps": 1e-12,
42
+ "model_type": "videomae",
43
+ "norm_pix_loss": true,
44
+ "num_attention_heads": 12,
45
+ "num_channels": 3,
46
+ "num_frames": 16,
47
+ "num_hidden_layers": 12,
48
+ "patch_size": 16,
49
+ "problem_type": "single_label_classification",
50
+ "qkv_bias": true,
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.44.0",
53
+ "tubelet_size": 2,
54
+ "use_mean_pooling": false
55
+ }
confusion_matrix_test600.png ADDED
confusion_matrix_train600.png ADDED
confusion_matrix_valid600.png ADDED
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8768b95b8be983f716c0283a1781f80cc6c7ca066af2cb5672ed3bda23ac109e
3
+ size 344961984
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.485,
12
+ 0.456,
13
+ 0.406
14
+ ],
15
+ "image_processor_type": "VideoMAEImageProcessor",
16
+ "image_std": [
17
+ 0.229,
18
+ 0.224,
19
+ 0.225
20
+ ],
21
+ "resample": 2,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 224
25
+ }
26
+ }
sample.gif ADDED

Git LFS Details

  • SHA256: 718f5f69260f42de7cb9e4d1543929d4467c3f7d8d8604882bf6492f84f09267
  • Pointer size: 131 Bytes
  • Size of remote file: 328 kB
test_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accuracy": 0.037037037037037035,
3
+ "f1": 0.005925925925925926,
4
+ "precision": 0.00322061191626409,
5
+ "recall": 0.037037037037037035,
6
+ "top_10_accuracy": 1.0,
7
+ "top_1_accuracy": 0.037037037037037035,
8
+ "top_5_accuracy": 0.4074074074074074
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.15625,
3
+ "best_model_checkpoint": "/kaggle/working/checkpoint-17",
4
+ "epoch": 1.4852941176470589,
5
+ "eval_steps": 500,
6
+ "global_step": 17,
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.47058823529411764,
13
+ "eval_accuracy": 0.03125,
14
+ "eval_f1": 0.010416666666666666,
15
+ "eval_loss": 2.347832679748535,
16
+ "eval_precision": 0.00625,
17
+ "eval_recall": 0.03125,
18
+ "eval_runtime": 5.3844,
19
+ "eval_samples_per_second": 5.943,
20
+ "eval_steps_per_second": 1.486,
21
+ "eval_top_10_accuracy": 1.0,
22
+ "eval_top_1_accuracy": 0.03125,
23
+ "eval_top_5_accuracy": 0.46875,
24
+ "step": 8
25
+ },
26
+ {
27
+ "epoch": 1.4852941176470589,
28
+ "eval_accuracy": 0.15625,
29
+ "eval_f1": 0.09895833333333333,
30
+ "eval_loss": 2.3559300899505615,
31
+ "eval_precision": 0.13671875,
32
+ "eval_recall": 0.15625,
33
+ "eval_runtime": 5.5018,
34
+ "eval_samples_per_second": 5.816,
35
+ "eval_steps_per_second": 1.454,
36
+ "eval_top_10_accuracy": 1.0,
37
+ "eval_top_1_accuracy": 0.15625,
38
+ "eval_top_5_accuracy": 0.5,
39
+ "step": 17
40
+ },
41
+ {
42
+ "epoch": 1.4852941176470589,
43
+ "step": 17,
44
+ "total_flos": 3.3895374930837504e+17,
45
+ "train_loss": 2.3516208424287686,
46
+ "train_runtime": 111.1739,
47
+ "train_samples_per_second": 2.447,
48
+ "train_steps_per_second": 0.153
49
+ }
50
+ ],
51
+ "logging_steps": 100,
52
+ "max_steps": 17,
53
+ "num_input_tokens_seen": 0,
54
+ "num_train_epochs": 9223372036854775807,
55
+ "save_steps": 500,
56
+ "stateful_callbacks": {
57
+ "EarlyStoppingCallback": {
58
+ "args": {
59
+ "early_stopping_patience": 20,
60
+ "early_stopping_threshold": 0.0
61
+ },
62
+ "attributes": {
63
+ "early_stopping_patience_counter": 0
64
+ }
65
+ },
66
+ "TrainerControl": {
67
+ "args": {
68
+ "should_epoch_stop": false,
69
+ "should_evaluate": false,
70
+ "should_log": false,
71
+ "should_save": true,
72
+ "should_training_stop": true
73
+ },
74
+ "attributes": {}
75
+ }
76
+ },
77
+ "total_flos": 3.3895374930837504e+17,
78
+ "train_batch_size": 4,
79
+ "trial_name": null,
80
+ "trial_params": null
81
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcd09c72001d33e2207fee64ce97c506d3b244e526ec1acc22f19198fdddbbcf
3
+ size 4719