ahmedabdo commited on
Commit
ada3378
1 Parent(s): 76e0fac

ahmedabdo/Video-classification2

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: hungsvdut2k2/video-classification
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: video-classification-finetuned-ucf101-subset
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # video-classification-finetuned-ucf101-subset
14
+
15
+ This model is a fine-tuned version of [hungsvdut2k2/video-classification](https://huggingface.co/hungsvdut2k2/video-classification) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - eval_loss: 0.5977
18
+ - eval_accuracy: 0.7059
19
+ - eval_runtime: 351.4501
20
+ - eval_samples_per_second: 2.322
21
+ - eval_steps_per_second: 0.29
22
+ - epoch: 0.05
23
+ - step: 118
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - training_steps: 2200
50
+
51
+ ### Framework versions
52
+
53
+ - Transformers 4.37.0
54
+ - Pytorch 2.1.2
55
+ - Datasets 2.1.0
56
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hungsvdut2k2/video-classification",
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": "barbell biceps curl",
16
+ "1": "bench press",
17
+ "2": "chest fly machine",
18
+ "3": "deadlift",
19
+ "4": "decline bench press",
20
+ "5": "hammer curl",
21
+ "6": "hip thrust",
22
+ "7": "incline bench press",
23
+ "8": "lat pulldown",
24
+ "9": "lateral raise",
25
+ "10": "leg extension",
26
+ "11": "leg raises",
27
+ "12": "plank",
28
+ "13": "pull Up",
29
+ "14": "push-up",
30
+ "15": "romanian deadlift",
31
+ "16": "russian twist",
32
+ "17": "shoulder press",
33
+ "18": "squat",
34
+ "19": "t bar row",
35
+ "20": "tricep Pushdown",
36
+ "21": "tricep dips"
37
+ },
38
+ "image_size": 224,
39
+ "initializer_range": 0.02,
40
+ "intermediate_size": 3072,
41
+ "label2id": {
42
+ "barbell biceps curl": 0,
43
+ "bench press": 1,
44
+ "chest fly machine": 2,
45
+ "deadlift": 3,
46
+ "decline bench press": 4,
47
+ "hammer curl": 5,
48
+ "hip thrust": 6,
49
+ "incline bench press": 7,
50
+ "lat pulldown": 8,
51
+ "lateral raise": 9,
52
+ "leg extension": 10,
53
+ "leg raises": 11,
54
+ "plank": 12,
55
+ "pull Up": 13,
56
+ "push-up": 14,
57
+ "romanian deadlift": 15,
58
+ "russian twist": 16,
59
+ "shoulder press": 17,
60
+ "squat": 18,
61
+ "t bar row": 19,
62
+ "tricep Pushdown": 20,
63
+ "tricep dips": 21
64
+ },
65
+ "layer_norm_eps": 1e-12,
66
+ "model_type": "videomae",
67
+ "norm_pix_loss": false,
68
+ "num_attention_heads": 12,
69
+ "num_channels": 3,
70
+ "num_frames": 16,
71
+ "num_hidden_layers": 12,
72
+ "patch_size": 16,
73
+ "problem_type": "single_label_classification",
74
+ "qkv_bias": true,
75
+ "torch_dtype": "float32",
76
+ "transformers_version": "4.37.0",
77
+ "tubelet_size": 2,
78
+ "use_mean_pooling": true
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:393b95c152c99747300fcca7088df09f6cedd7388226afca61106ef2d959e7b2
3
+ size 344998856
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
+ }
runs/Feb27_20-23-32_7af0e03e40a5/events.out.tfevents.1709065434.7af0e03e40a5.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88da2f55e5ba7b72020ec7e16d672cffc1e50e5dfa018a968e53fed54ee26cc3
3
+ size 9610
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2592de0f881041c94fac79f1c99f2a7c6ba96dadc0a3a9163d184789e6cbcdac
3
+ size 4792