Training in progress, epoch 1
Browse files- README.md +63 -0
- config.json +57 -0
- model.safetensors +3 -0
- preprocessor_config.json +42 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
model-index:
|
9 |
+
- name: videomae-base-finetuned-ucf101-subset
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# videomae-base-finetuned-ucf101-subset
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.3963
|
21 |
+
- Accuracy: 0.1154
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_ratio: 0.1
|
47 |
+
- training_steps: 36
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
53 |
+
| 2.4449 | 0.3889 | 14 | 2.4051 | 0.0769 |
|
54 |
+
| 2.4615 | 1.3889 | 28 | 2.3911 | 0.1154 |
|
55 |
+
| 2.4631 | 2.2222 | 36 | 2.3963 | 0.1154 |
|
56 |
+
|
57 |
+
|
58 |
+
### Framework versions
|
59 |
+
|
60 |
+
- Transformers 4.40.1
|
61 |
+
- Pytorch 2.1.2+rocm6.0
|
62 |
+
- Datasets 2.19.1
|
63 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": " Actor",
|
16 |
+
"1": " Afternoon",
|
17 |
+
"2": " Ball",
|
18 |
+
"3": " Bank",
|
19 |
+
"4": " Blue",
|
20 |
+
"5": " Boat",
|
21 |
+
"6": " Book",
|
22 |
+
"7": " Chair",
|
23 |
+
"8": "Animal",
|
24 |
+
"9": "bathroom",
|
25 |
+
"10": "child"
|
26 |
+
},
|
27 |
+
"image_size": 224,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 3072,
|
30 |
+
"label2id": {
|
31 |
+
" Actor": 0,
|
32 |
+
" Afternoon": 1,
|
33 |
+
" Ball": 2,
|
34 |
+
" Bank": 3,
|
35 |
+
" Blue": 4,
|
36 |
+
" Boat": 5,
|
37 |
+
" Book": 6,
|
38 |
+
" Chair": 7,
|
39 |
+
"Animal": 8,
|
40 |
+
"bathroom": 9,
|
41 |
+
"child": 10
|
42 |
+
},
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"model_type": "videomae",
|
45 |
+
"norm_pix_loss": true,
|
46 |
+
"num_attention_heads": 12,
|
47 |
+
"num_channels": 3,
|
48 |
+
"num_frames": 16,
|
49 |
+
"num_hidden_layers": 12,
|
50 |
+
"patch_size": 16,
|
51 |
+
"problem_type": "single_label_classification",
|
52 |
+
"qkv_bias": true,
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.40.1",
|
55 |
+
"tubelet_size": 2,
|
56 |
+
"use_mean_pooling": false
|
57 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f86d5e0d9b42a4a3f5512f00dfb66d6029d71881bcba8cb7039536c46a1fe92
|
3 |
+
size 344965060
|
preprocessor_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"videos",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_center_crop",
|
8 |
+
"crop_size",
|
9 |
+
"do_rescale",
|
10 |
+
"rescale_factor",
|
11 |
+
"do_normalize",
|
12 |
+
"image_mean",
|
13 |
+
"image_std",
|
14 |
+
"return_tensors",
|
15 |
+
"data_format",
|
16 |
+
"input_data_format"
|
17 |
+
],
|
18 |
+
"crop_size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
},
|
22 |
+
"do_center_crop": true,
|
23 |
+
"do_normalize": true,
|
24 |
+
"do_rescale": true,
|
25 |
+
"do_resize": true,
|
26 |
+
"image_mean": [
|
27 |
+
0.485,
|
28 |
+
0.456,
|
29 |
+
0.406
|
30 |
+
],
|
31 |
+
"image_processor_type": "VideoMAEImageProcessor",
|
32 |
+
"image_std": [
|
33 |
+
0.229,
|
34 |
+
0.224,
|
35 |
+
0.225
|
36 |
+
],
|
37 |
+
"resample": 2,
|
38 |
+
"rescale_factor": 0.00392156862745098,
|
39 |
+
"size": {
|
40 |
+
"shortest_edge": 224
|
41 |
+
}
|
42 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c503d5251f282937c8b8764787a23dfc91bae99dfc299babd8ea703be8fb97e
|
3 |
+
size 5048
|