Model save
Browse files- README.md +59 -0
- all_results.json +10 -0
- config.json +63 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- runs/Apr02_15-59-10_31ea9200f14f/events.out.tfevents.1712073576.31ea9200f14f.34.0 +3 -0
- runs/Apr02_15-59-10_31ea9200f14f/events.out.tfevents.1712077121.31ea9200f14f.34.1 +3 -0
- test_results.json +10 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
base_model: archit11/videomae-base-finetuned-ucfcrime-full
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: videomae-base-finetuned-ucfcrime-full2
|
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-ucfcrime-full2
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [archit11/videomae-base-finetuned-ucfcrime-full](https://huggingface.co/archit11/videomae-base-finetuned-ucfcrime-full) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- eval_loss: 2.5014
|
19 |
+
- eval_accuracy: 0.225
|
20 |
+
- eval_precision: 0.2362
|
21 |
+
- eval_recall: 0.1921
|
22 |
+
- eval_f1: 0.1788
|
23 |
+
- eval_runtime: 1016.7587
|
24 |
+
- eval_samples_per_second: 4.878
|
25 |
+
- eval_steps_per_second: 1.22
|
26 |
+
- step: 0
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 5e-05
|
46 |
+
- train_batch_size: 4
|
47 |
+
- eval_batch_size: 4
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- lr_scheduler_warmup_ratio: 0.1
|
52 |
+
- training_steps: 700
|
53 |
+
|
54 |
+
### Framework versions
|
55 |
+
|
56 |
+
- Transformers 4.38.2
|
57 |
+
- Pytorch 2.1.2
|
58 |
+
- Datasets 2.1.0
|
59 |
+
- Tokenizers 0.15.2
|
all_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_accuracy": 0.225,
|
3 |
+
"eval_f1": 0.17882905387355633,
|
4 |
+
"eval_loss": 2.501384973526001,
|
5 |
+
"eval_precision": 0.23617900665745273,
|
6 |
+
"eval_recall": 0.19213899602329576,
|
7 |
+
"eval_runtime": 1016.7587,
|
8 |
+
"eval_samples_per_second": 4.878,
|
9 |
+
"eval_steps_per_second": 1.22
|
10 |
+
}
|
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "archit11/videomae-base-finetuned-ucfcrime-full",
|
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": "Abuse",
|
16 |
+
"1": "Arrest",
|
17 |
+
"2": "Arson",
|
18 |
+
"3": "Assault",
|
19 |
+
"4": "Burglary",
|
20 |
+
"5": "Explosion",
|
21 |
+
"6": "Fighting",
|
22 |
+
"7": "Normal_Videos_for_Event_Recognition",
|
23 |
+
"8": "RoadAccidents",
|
24 |
+
"9": "Robbery",
|
25 |
+
"10": "Shooting",
|
26 |
+
"11": "Shoplifting",
|
27 |
+
"12": "Stealing",
|
28 |
+
"13": "Vandalism"
|
29 |
+
},
|
30 |
+
"image_size": 224,
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"Abuse": 0,
|
35 |
+
"Arrest": 1,
|
36 |
+
"Arson": 2,
|
37 |
+
"Assault": 3,
|
38 |
+
"Burglary": 4,
|
39 |
+
"Explosion": 5,
|
40 |
+
"Fighting": 6,
|
41 |
+
"Normal_Videos_for_Event_Recognition": 7,
|
42 |
+
"RoadAccidents": 8,
|
43 |
+
"Robbery": 9,
|
44 |
+
"Shooting": 10,
|
45 |
+
"Shoplifting": 11,
|
46 |
+
"Stealing": 12,
|
47 |
+
"Vandalism": 13
|
48 |
+
},
|
49 |
+
"layer_norm_eps": 1e-12,
|
50 |
+
"model_type": "videomae",
|
51 |
+
"norm_pix_loss": true,
|
52 |
+
"num_attention_heads": 12,
|
53 |
+
"num_channels": 3,
|
54 |
+
"num_frames": 16,
|
55 |
+
"num_hidden_layers": 12,
|
56 |
+
"patch_size": 16,
|
57 |
+
"problem_type": "single_label_classification",
|
58 |
+
"qkv_bias": true,
|
59 |
+
"torch_dtype": "float32",
|
60 |
+
"transformers_version": "4.38.2",
|
61 |
+
"tubelet_size": 2,
|
62 |
+
"use_mean_pooling": false
|
63 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba99a3d4164208683bae69f90dcb21a6f194eb50428952f3f6b6defcc9dcf5ae
|
3 |
+
size 344974288
|
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/Apr02_15-59-10_31ea9200f14f/events.out.tfevents.1712073576.31ea9200f14f.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26693e7bcaf592577abb33334cdcf1af680d1ce917dcb456023bca9bac3f0dc6
|
3 |
+
size 9057
|
runs/Apr02_15-59-10_31ea9200f14f/events.out.tfevents.1712077121.31ea9200f14f.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79f0bf8f4b81093e75329c3cd07555cff7a3506e67d0e9d0d0e23cdd32b61b4f
|
3 |
+
size 486
|
test_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_accuracy": 0.225,
|
3 |
+
"eval_f1": 0.17882905387355633,
|
4 |
+
"eval_loss": 2.501384973526001,
|
5 |
+
"eval_precision": 0.23617900665745273,
|
6 |
+
"eval_recall": 0.19213899602329576,
|
7 |
+
"eval_runtime": 1016.7587,
|
8 |
+
"eval_samples_per_second": 4.878,
|
9 |
+
"eval_steps_per_second": 1.22
|
10 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09a7edbb6f198bf21be6786dbaac65e81365e1d801f2b3997dcf78274b25ac17
|
3 |
+
size 4984
|