End of training
Browse files- README.md +90 -0
- config.json +92 -0
- model.safetensors +3 -0
- preprocessor_config.json +36 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model-index:
|
5 |
+
- name: vit-base-patch16-224-imigue
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
10 |
+
should probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# vit-base-patch16-224-imigue
|
13 |
+
|
14 |
+
This model was trained from scratch on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- eval_loss: 0.6450
|
17 |
+
- eval_accuracy: 0.8112
|
18 |
+
- eval_f1: 0.6905
|
19 |
+
- eval_arms_akimbo: 1.0
|
20 |
+
- eval_biting_nails: 0.0
|
21 |
+
- eval_buckle_button,_pulling_shirt_collar,_adjusting_tie: 0.8923
|
22 |
+
- eval_bulging_face,_deep_breath: 0.6162
|
23 |
+
- eval_covering_face: 0.8788
|
24 |
+
- eval_crossing_fingers: 0.8468
|
25 |
+
- eval_dustoffing_clothes: 0.77
|
26 |
+
- eval_folding_arms: 0.7598
|
27 |
+
- eval_head_up: 0.8182
|
28 |
+
- eval_hold_back_arms: 0.7015
|
29 |
+
- eval_illustrative_body_language: 0.8521
|
30 |
+
- eval_minaret_gesture: 0.9677
|
31 |
+
- eval_moving_torso: 0.7914
|
32 |
+
- eval_playing_with_or_adjusting_hair: 0.8393
|
33 |
+
- eval_playing_with_or_manipulating_objects: 0.9053
|
34 |
+
- eval_pressing_lips: 0.7363
|
35 |
+
- eval_putting_arms_behind_body: 0.0
|
36 |
+
- eval_rubbing_eyes: 0.8793
|
37 |
+
- eval_rubbing_or_holding_hands: 0.8180
|
38 |
+
- eval_scratching_back: 0.875
|
39 |
+
- eval_scratching_or_touching_arms: 0.7704
|
40 |
+
- eval_shaking_shoulders: 0.7051
|
41 |
+
- eval_sitting_upright: 0.7273
|
42 |
+
- eval_touching_ears: 0.8261
|
43 |
+
- eval_touching_hat: 0.9474
|
44 |
+
- eval_touching_jaw: 0.8979
|
45 |
+
- eval_touching_or_covering_suprasternal_notch: 1.0
|
46 |
+
- eval_touching_or_scratching_facial_parts: 0.8178
|
47 |
+
- eval_touching_or_scratching_forehead: 0.8
|
48 |
+
- eval_touching_or_scratching_head: 0.8913
|
49 |
+
- eval_touching_or_scratching_neck: 0.8788
|
50 |
+
- eval_turtle_neck: 1.0
|
51 |
+
- eval_runtime: 13.9155
|
52 |
+
- eval_samples_per_second: 869.752
|
53 |
+
- eval_steps_per_second: 3.449
|
54 |
+
- step: 0
|
55 |
+
|
56 |
+
## Model description
|
57 |
+
|
58 |
+
More information needed
|
59 |
+
|
60 |
+
## Intended uses & limitations
|
61 |
+
|
62 |
+
More information needed
|
63 |
+
|
64 |
+
## Training and evaluation data
|
65 |
+
|
66 |
+
More information needed
|
67 |
+
|
68 |
+
## Training procedure
|
69 |
+
|
70 |
+
### Training hyperparameters
|
71 |
+
|
72 |
+
The following hyperparameters were used during training:
|
73 |
+
- learning_rate: 5e-05
|
74 |
+
- train_batch_size: 128
|
75 |
+
- eval_batch_size: 256
|
76 |
+
- seed: 42
|
77 |
+
- gradient_accumulation_steps: 4
|
78 |
+
- total_train_batch_size: 512
|
79 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
80 |
+
- lr_scheduler_type: linear
|
81 |
+
- lr_scheduler_warmup_ratio: 0.1
|
82 |
+
- num_epochs: 20
|
83 |
+
- mixed_precision_training: Native AMP
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.39.2
|
88 |
+
- Pytorch 2.2.1
|
89 |
+
- Datasets 2.18.0
|
90 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "model",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": [
|
12 |
+
"arms_akimbo",
|
13 |
+
"biting_nails",
|
14 |
+
"buckle_button,_pulling_shirt_collar,_adjusting_tie",
|
15 |
+
"bulging_face,_deep_breath",
|
16 |
+
"covering_face",
|
17 |
+
"crossing_fingers",
|
18 |
+
"dustoffing_clothes",
|
19 |
+
"folding_arms",
|
20 |
+
"head_up",
|
21 |
+
"hold_back_arms",
|
22 |
+
"illustrative_body_language",
|
23 |
+
"minaret_gesture",
|
24 |
+
"moving_torso",
|
25 |
+
"playing_with_or_adjusting_hair",
|
26 |
+
"playing_with_or_manipulating_objects",
|
27 |
+
"pressing_lips",
|
28 |
+
"putting_arms_behind_body",
|
29 |
+
"rubbing_eyes",
|
30 |
+
"rubbing_or_holding_hands",
|
31 |
+
"scratching_back",
|
32 |
+
"scratching_or_touching_arms",
|
33 |
+
"shaking_shoulders",
|
34 |
+
"sitting_upright",
|
35 |
+
"touching_ears",
|
36 |
+
"touching_hat",
|
37 |
+
"touching_jaw",
|
38 |
+
"touching_or_covering_suprasternal_notch",
|
39 |
+
"touching_or_scratching_facial_parts",
|
40 |
+
"touching_or_scratching_forehead",
|
41 |
+
"touching_or_scratching_head",
|
42 |
+
"touching_or_scratching_neck",
|
43 |
+
"turtle_neck"
|
44 |
+
],
|
45 |
+
"image_size": 224,
|
46 |
+
"initializer_range": 0.02,
|
47 |
+
"intermediate_size": 3072,
|
48 |
+
"label2id": {
|
49 |
+
"arms_akimbo": 0,
|
50 |
+
"biting_nails": 1,
|
51 |
+
"buckle_button,_pulling_shirt_collar,_adjusting_tie": 2,
|
52 |
+
"bulging_face,_deep_breath": 3,
|
53 |
+
"covering_face": 4,
|
54 |
+
"crossing_fingers": 5,
|
55 |
+
"dustoffing_clothes": 6,
|
56 |
+
"folding_arms": 7,
|
57 |
+
"head_up": 8,
|
58 |
+
"hold_back_arms": 9,
|
59 |
+
"illustrative_body_language": 10,
|
60 |
+
"minaret_gesture": 11,
|
61 |
+
"moving_torso": 12,
|
62 |
+
"playing_with_or_adjusting_hair": 13,
|
63 |
+
"playing_with_or_manipulating_objects": 14,
|
64 |
+
"pressing_lips": 15,
|
65 |
+
"putting_arms_behind_body": 16,
|
66 |
+
"rubbing_eyes": 17,
|
67 |
+
"rubbing_or_holding_hands": 18,
|
68 |
+
"scratching_back": 19,
|
69 |
+
"scratching_or_touching_arms": 20,
|
70 |
+
"shaking_shoulders": 21,
|
71 |
+
"sitting_upright": 22,
|
72 |
+
"touching_ears": 23,
|
73 |
+
"touching_hat": 24,
|
74 |
+
"touching_jaw": 25,
|
75 |
+
"touching_or_covering_suprasternal_notch": 26,
|
76 |
+
"touching_or_scratching_facial_parts": 27,
|
77 |
+
"touching_or_scratching_forehead": 28,
|
78 |
+
"touching_or_scratching_head": 29,
|
79 |
+
"touching_or_scratching_neck": 30,
|
80 |
+
"turtle_neck": 31
|
81 |
+
},
|
82 |
+
"layer_norm_eps": 1e-12,
|
83 |
+
"model_type": "vit",
|
84 |
+
"num_attention_heads": 12,
|
85 |
+
"num_channels": 3,
|
86 |
+
"num_hidden_layers": 12,
|
87 |
+
"patch_size": 16,
|
88 |
+
"problem_type": "single_label_classification",
|
89 |
+
"qkv_bias": true,
|
90 |
+
"torch_dtype": "float32",
|
91 |
+
"transformers_version": "4.39.2"
|
92 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:750d24660fa68870b29938709eb57cc2520c54435e84d9baa327e3ef1eab4dbd
|
3 |
+
size 343316264
|
preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.5,
|
21 |
+
0.5,
|
22 |
+
0.5
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTImageProcessor",
|
25 |
+
"image_std": [
|
26 |
+
0.5,
|
27 |
+
0.5,
|
28 |
+
0.5
|
29 |
+
],
|
30 |
+
"resample": 2,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a16c754cf4c207d2ba7eb9186adc2fda72184fb8768121adf5532b8b67d0f185
|
3 |
+
size 4920
|