colinhwang
commited on
Model save
Browse files- README.md +3 -3
- config.json +10 -22
- model.safetensors +2 -2
- trajectory/config.json +45 -0
- trajectory/model.safetensors +3 -0
- trajectory/preprocessor_config.json +26 -0
- trajectory/training_args.bin +3 -0
README.md
CHANGED
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss:
|
22 |
-
- Accuracy: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -51,7 +51,7 @@ The following hyperparameters were used during training:
|
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
54 |
-
|
|
55 |
|
56 |
|
57 |
### Framework versions
|
|
|
18 |
|
19 |
This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5392
|
22 |
+
- Accuracy: 0.0370
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
54 |
+
| 0.9111 | 1.0 | 218 | 0.5392 | 0.0370 |
|
55 |
|
56 |
|
57 |
### Framework versions
|
config.json
CHANGED
@@ -12,33 +12,21 @@
|
|
12 |
"hidden_dropout_prob": 0.0,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
-
"0": "
|
16 |
-
"1": "
|
17 |
-
"2": "
|
18 |
-
"3": "
|
19 |
-
"4": "
|
20 |
-
"5": "FS",
|
21 |
-
"6": "KC",
|
22 |
-
"7": "KN",
|
23 |
-
"8": "SI",
|
24 |
-
"9": "SL",
|
25 |
-
"10": "ST"
|
26 |
},
|
27 |
"image_size": 224,
|
28 |
"initializer_range": 0.02,
|
29 |
"intermediate_size": 3072,
|
30 |
"label2id": {
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"FS": 5,
|
37 |
-
"KC": 6,
|
38 |
-
"KN": 7,
|
39 |
-
"SI": 8,
|
40 |
-
"SL": 9,
|
41 |
-
"ST": 10
|
42 |
},
|
43 |
"layer_norm_eps": 1e-12,
|
44 |
"model_type": "videomae",
|
|
|
12 |
"hidden_dropout_prob": 0.0,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
+
"0": "bunt",
|
16 |
+
"1": "fly_ball",
|
17 |
+
"2": "ground_ball",
|
18 |
+
"3": "line_drive",
|
19 |
+
"4": "popup"
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
},
|
21 |
"image_size": 224,
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 3072,
|
24 |
"label2id": {
|
25 |
+
"bunt": 0,
|
26 |
+
"fly_ball": 1,
|
27 |
+
"ground_ball": 2,
|
28 |
+
"line_drive": 3,
|
29 |
+
"popup": 4
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
},
|
31 |
"layer_norm_eps": 1e-12,
|
32 |
"model_type": "videomae",
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab7b59f7daf41a106ad26eee94c709f1cdc968f2cf99f0aa4b52787c6ff3b2d2
|
3 |
+
size 344946604
|
trajectory/config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "bunt",
|
16 |
+
"1": "fly_ball",
|
17 |
+
"2": "ground_ball",
|
18 |
+
"3": "line_drive",
|
19 |
+
"4": "popup"
|
20 |
+
},
|
21 |
+
"image_size": 224,
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"bunt": 0,
|
26 |
+
"fly_ball": 1,
|
27 |
+
"ground_ball": 2,
|
28 |
+
"line_drive": 3,
|
29 |
+
"popup": 4
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-12,
|
32 |
+
"model_type": "videomae",
|
33 |
+
"norm_pix_loss": true,
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_frames": 16,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"patch_size": 16,
|
39 |
+
"problem_type": "single_label_classification",
|
40 |
+
"qkv_bias": true,
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.47.1",
|
43 |
+
"tubelet_size": 2,
|
44 |
+
"use_mean_pooling": false
|
45 |
+
}
|
trajectory/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab7b59f7daf41a106ad26eee94c709f1cdc968f2cf99f0aa4b52787c6ff3b2d2
|
3 |
+
size 344946604
|
trajectory/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 |
+
}
|
trajectory/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9dfb6a96bd4770516fbe664ee849635a567a07863a62aac1f73f935621e63c61
|
3 |
+
size 5304
|