ahmedabdo commited on
Commit
aa596b3
1 Parent(s): 8780561

ahmedabdo/video-classifier

Browse files
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ base_model: MCG-NJU/videomae-base
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: videomae-base-finetuned-ucf101-subset
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # videomae-base-finetuned-ucf101-subset
15
+
16
+ This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - eval_loss: 0.5115
19
+ - eval_accuracy: 0.7953
20
+ - eval_runtime: 374.4
21
+ - eval_samples_per_second: 2.179
22
+ - eval_steps_per_second: 0.272
23
+ - epoch: 0.05
24
+ - step: 70
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 8
45
+ - eval_batch_size: 8
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - training_steps: 1500
51
+
52
+ ### Framework versions
53
+
54
+ - Transformers 4.37.0
55
+ - Pytorch 2.1.2
56
+ - Datasets 2.1.0
57
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "image_size": 224,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "layer_norm_eps": 1e-12,
18
+ "model_type": "videomae",
19
+ "norm_pix_loss": true,
20
+ "num_attention_heads": 12,
21
+ "num_channels": 3,
22
+ "num_frames": 16,
23
+ "num_hidden_layers": 12,
24
+ "patch_size": 16,
25
+ "problem_type": "single_label_classification",
26
+ "qkv_bias": true,
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.37.0",
29
+ "tubelet_size": 2,
30
+ "use_mean_pooling": false
31
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4acd0f7c367e80c70ca34c2338abcfef28f09441b5c1f9c48a8541014478c1c
3
+ size 344937368
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/Feb26_22-26-28_8943b7457fd3/events.out.tfevents.1708986414.8943b7457fd3.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:398f1b8b1c8d47041e2a9dffb432f57ab77d94ebafa512b3cc54d00a61398724
3
+ size 7654
runs/Feb27_01-04-51_8943b7457fd3/events.out.tfevents.1708995914.8943b7457fd3.1814.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29261ff0acaa32f7a7f08f75d225b10f4a1d2cd2f990331a60b4ceba42fc95c8
3
+ size 6258
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba598d5230f05915bc3e6e3c13a2e7d47ff67d8d58b44b6bd1c09cec90cdd4f0
3
+ size 4792