dima806 commited on
Commit
ce36a5d
·
1 Parent(s): 43b1f33

Upload folder using huggingface_hub

Browse files
checkpoint-14968/config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/hand_gestures_image_detection",
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
+ "0": "call",
13
+ "1": "dislike",
14
+ "2": "fist",
15
+ "3": "four",
16
+ "4": "like",
17
+ "5": "mute",
18
+ "6": "ok",
19
+ "7": "one",
20
+ "8": "palm",
21
+ "9": "peace",
22
+ "10": "peace_inverted",
23
+ "11": "rock",
24
+ "12": "stop",
25
+ "13": "stop_inverted",
26
+ "14": "three",
27
+ "15": "three2",
28
+ "16": "two_up",
29
+ "17": "two_up_inverted"
30
+ },
31
+ "image_size": 224,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "call": 0,
36
+ "dislike": 1,
37
+ "fist": 2,
38
+ "four": 3,
39
+ "like": 4,
40
+ "mute": 5,
41
+ "ok": 6,
42
+ "one": 7,
43
+ "palm": 8,
44
+ "peace": 9,
45
+ "peace_inverted": 10,
46
+ "rock": 11,
47
+ "stop": 12,
48
+ "stop_inverted": 13,
49
+ "three": 14,
50
+ "three2": 15,
51
+ "two_up": 16,
52
+ "two_up_inverted": 17
53
+ },
54
+ "layer_norm_eps": 1e-12,
55
+ "model_type": "vit",
56
+ "num_attention_heads": 12,
57
+ "num_channels": 3,
58
+ "num_hidden_layers": 12,
59
+ "patch_size": 16,
60
+ "problem_type": "single_label_classification",
61
+ "qkv_bias": true,
62
+ "torch_dtype": "float32",
63
+ "transformers_version": "4.36.2"
64
+ }
checkpoint-14968/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80fcb76db341927822b0bc980e96521dfdb0d991a76bc6c76280a0ece62f2bdf
3
+ size 343273192
checkpoint-14968/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ba28a0e5ad69840fa80903429162787d4205e86943e7137ddc9d43388d0ca67
3
+ size 686666885
checkpoint-14968/preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
checkpoint-14968/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c64e2e16791803f10345fd0e39eba83b6c2d075520aaa657ccb8c816ff5bbe6
3
+ size 14575
checkpoint-14968/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7e51dc3b2b95d746df38d77c07a0e0eeba4bf5a57c6b5c18403adce16e6cad8
3
+ size 627
checkpoint-14968/trainer_state.json ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.3194196224212646,
3
+ "best_model_checkpoint": "hand_gestures_image_detection/checkpoint-14968",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 14968,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.07,
13
+ "learning_rate": 4.84917549269339e-07,
14
+ "loss": 2.3317,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.13,
19
+ "learning_rate": 4.6815927067971575e-07,
20
+ "loss": 2.2323,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.2,
25
+ "learning_rate": 4.5140099209009247e-07,
26
+ "loss": 2.1419,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 0.27,
31
+ "learning_rate": 4.3464271350046923e-07,
32
+ "loss": 2.0548,
33
+ "step": 2000
34
+ },
35
+ {
36
+ "epoch": 0.33,
37
+ "learning_rate": 4.1788443491084595e-07,
38
+ "loss": 1.9753,
39
+ "step": 2500
40
+ },
41
+ {
42
+ "epoch": 0.4,
43
+ "learning_rate": 4.0112615632122266e-07,
44
+ "loss": 1.908,
45
+ "step": 3000
46
+ },
47
+ {
48
+ "epoch": 0.47,
49
+ "learning_rate": 3.843678777315994e-07,
50
+ "loss": 1.8392,
51
+ "step": 3500
52
+ },
53
+ {
54
+ "epoch": 0.53,
55
+ "learning_rate": 3.6760959914197614e-07,
56
+ "loss": 1.7853,
57
+ "step": 4000
58
+ },
59
+ {
60
+ "epoch": 0.6,
61
+ "learning_rate": 3.5085132055235285e-07,
62
+ "loss": 1.7308,
63
+ "step": 4500
64
+ },
65
+ {
66
+ "epoch": 0.67,
67
+ "learning_rate": 3.3409304196272956e-07,
68
+ "loss": 1.6786,
69
+ "step": 5000
70
+ },
71
+ {
72
+ "epoch": 0.73,
73
+ "learning_rate": 3.173347633731063e-07,
74
+ "loss": 1.6325,
75
+ "step": 5500
76
+ },
77
+ {
78
+ "epoch": 0.8,
79
+ "learning_rate": 3.0057648478348304e-07,
80
+ "loss": 1.5887,
81
+ "step": 6000
82
+ },
83
+ {
84
+ "epoch": 0.87,
85
+ "learning_rate": 2.8381820619385976e-07,
86
+ "loss": 1.5505,
87
+ "step": 6500
88
+ },
89
+ {
90
+ "epoch": 0.94,
91
+ "learning_rate": 2.6705992760423647e-07,
92
+ "loss": 1.512,
93
+ "step": 7000
94
+ },
95
+ {
96
+ "epoch": 1.0,
97
+ "eval_accuracy": 0.8551563439567047,
98
+ "eval_loss": 1.5290167331695557,
99
+ "eval_runtime": 671.8117,
100
+ "eval_samples_per_second": 79.213,
101
+ "eval_steps_per_second": 2.475,
102
+ "step": 7484
103
+ },
104
+ {
105
+ "epoch": 1.0,
106
+ "learning_rate": 2.503016490146132e-07,
107
+ "loss": 1.4861,
108
+ "step": 7500
109
+ },
110
+ {
111
+ "epoch": 1.07,
112
+ "learning_rate": 2.3354337042498992e-07,
113
+ "loss": 1.4527,
114
+ "step": 8000
115
+ },
116
+ {
117
+ "epoch": 1.14,
118
+ "learning_rate": 2.1678509183536666e-07,
119
+ "loss": 1.4237,
120
+ "step": 8500
121
+ },
122
+ {
123
+ "epoch": 1.2,
124
+ "learning_rate": 2.0002681324574337e-07,
125
+ "loss": 1.3982,
126
+ "step": 9000
127
+ },
128
+ {
129
+ "epoch": 1.27,
130
+ "learning_rate": 1.8326853465612011e-07,
131
+ "loss": 1.3758,
132
+ "step": 9500
133
+ },
134
+ {
135
+ "epoch": 1.34,
136
+ "learning_rate": 1.6651025606649685e-07,
137
+ "loss": 1.3574,
138
+ "step": 10000
139
+ },
140
+ {
141
+ "epoch": 1.4,
142
+ "learning_rate": 1.4975197747687357e-07,
143
+ "loss": 1.3389,
144
+ "step": 10500
145
+ },
146
+ {
147
+ "epoch": 1.47,
148
+ "learning_rate": 1.3299369888725028e-07,
149
+ "loss": 1.3232,
150
+ "step": 11000
151
+ },
152
+ {
153
+ "epoch": 1.54,
154
+ "learning_rate": 1.1623542029762702e-07,
155
+ "loss": 1.3078,
156
+ "step": 11500
157
+ },
158
+ {
159
+ "epoch": 1.6,
160
+ "learning_rate": 9.947714170800376e-08,
161
+ "loss": 1.2976,
162
+ "step": 12000
163
+ },
164
+ {
165
+ "epoch": 1.67,
166
+ "learning_rate": 8.271886311838047e-08,
167
+ "loss": 1.2858,
168
+ "step": 12500
169
+ },
170
+ {
171
+ "epoch": 1.74,
172
+ "learning_rate": 6.59605845287572e-08,
173
+ "loss": 1.2758,
174
+ "step": 13000
175
+ },
176
+ {
177
+ "epoch": 1.8,
178
+ "learning_rate": 4.920230593913393e-08,
179
+ "loss": 1.2754,
180
+ "step": 13500
181
+ },
182
+ {
183
+ "epoch": 1.87,
184
+ "learning_rate": 3.244402734951066e-08,
185
+ "loss": 1.2647,
186
+ "step": 14000
187
+ },
188
+ {
189
+ "epoch": 1.94,
190
+ "learning_rate": 1.5685748759887383e-08,
191
+ "loss": 1.2642,
192
+ "step": 14500
193
+ },
194
+ {
195
+ "epoch": 2.0,
196
+ "eval_accuracy": 0.883963469633193,
197
+ "eval_loss": 1.3194196224212646,
198
+ "eval_runtime": 673.3538,
199
+ "eval_samples_per_second": 79.031,
200
+ "eval_steps_per_second": 2.47,
201
+ "step": 14968
202
+ }
203
+ ],
204
+ "logging_steps": 500,
205
+ "max_steps": 14968,
206
+ "num_input_tokens_seen": 0,
207
+ "num_train_epochs": 2,
208
+ "save_steps": 500,
209
+ "total_flos": 7.423805150444932e+19,
210
+ "train_batch_size": 64,
211
+ "trial_name": null,
212
+ "trial_params": null
213
+ }
checkpoint-14968/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30518e4f8bc3bcbf0ebddc024498f9f147b637f7e39a8091142f93dbe19de848
3
+ size 4219
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b40b5f490b48c6ae469666379b82d1795c96d0ee09ce025c8120d77532cf2bb4
3
  size 343273192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80fcb76db341927822b0bc980e96521dfdb0d991a76bc6c76280a0ece62f2bdf
3
  size 343273192
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a812e0c9b9b4ac9878b584a99c5fc65fd84a85a7d5087efc49cd658a927dfbde
3
  size 4219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30518e4f8bc3bcbf0ebddc024498f9f147b637f7e39a8091142f93dbe19de848
3
  size 4219