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

Upload folder using huggingface_hub

Browse files
checkpoint-2814/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-2814/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b40b5f490b48c6ae469666379b82d1795c96d0ee09ce025c8120d77532cf2bb4
3
+ size 343273192
checkpoint-2814/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ae35315b4cbc39b527332b99cd6bc617ef5bf018da235d100df85838901eb97
3
+ size 686666885
checkpoint-2814/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-2814/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:911717e6c079ece6a92564164b43a0f7d6db4376cf820e7d270da472c85a1217
3
+ size 14575
checkpoint-2814/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3d0e96e8a6e2180542ad74c5394ad428b2d806caadea61917c4b717137690ed
3
+ size 627
checkpoint-2814/trainer_state.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.4189274311065674,
3
+ "best_model_checkpoint": "hand_gestures_image_detection/checkpoint-2814",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2814,
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.36,
13
+ "learning_rate": 8.371924746743849e-07,
14
+ "loss": 2.8229,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.71,
19
+ "learning_rate": 6.562952243125904e-07,
20
+ "loss": 2.704,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 1.0,
25
+ "eval_accuracy": 0.4466,
26
+ "eval_loss": 2.5748167037963867,
27
+ "eval_runtime": 119.6576,
28
+ "eval_samples_per_second": 83.572,
29
+ "eval_steps_per_second": 2.616,
30
+ "step": 1407
31
+ },
32
+ {
33
+ "epoch": 1.07,
34
+ "learning_rate": 4.7539797395079595e-07,
35
+ "loss": 2.5758,
36
+ "step": 1500
37
+ },
38
+ {
39
+ "epoch": 1.42,
40
+ "learning_rate": 2.9450072358900143e-07,
41
+ "loss": 2.4697,
42
+ "step": 2000
43
+ },
44
+ {
45
+ "epoch": 1.78,
46
+ "learning_rate": 1.1360347322720694e-07,
47
+ "loss": 2.4039,
48
+ "step": 2500
49
+ },
50
+ {
51
+ "epoch": 2.0,
52
+ "eval_accuracy": 0.5548,
53
+ "eval_loss": 2.4189274311065674,
54
+ "eval_runtime": 118.9495,
55
+ "eval_samples_per_second": 84.069,
56
+ "eval_steps_per_second": 2.631,
57
+ "step": 2814
58
+ }
59
+ ],
60
+ "logging_steps": 500,
61
+ "max_steps": 2814,
62
+ "num_input_tokens_seen": 0,
63
+ "num_train_epochs": 2,
64
+ "save_steps": 500,
65
+ "total_flos": 1.395055839485952e+19,
66
+ "train_batch_size": 64,
67
+ "trial_name": null,
68
+ "trial_params": null
69
+ }
checkpoint-2814/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a812e0c9b9b4ac9878b584a99c5fc65fd84a85a7d5087efc49cd658a927dfbde
3
+ size 4219
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "dima806/hand_gestures_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:40a7edc119b2706bbc7a2b58cf531a03bf32549a6c5cc37ac74af369cd64409b
3
  size 343273192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b40b5f490b48c6ae469666379b82d1795c96d0ee09ce025c8120d77532cf2bb4
3
  size 343273192
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8676d1b969b494fd587db8fc37b017cc09641351dbc01a703277533d7b5316f6
3
  size 4219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a812e0c9b9b4ac9878b584a99c5fc65fd84a85a7d5087efc49cd658a927dfbde
3
  size 4219