dima806 commited on
Commit
3084388
1 Parent(s): 8ca2a4a

Upload folder using huggingface_hub

Browse files
checkpoint-290/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/yoga_pose_image_classification",
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": "Bridge",
13
+ "1": "Child",
14
+ "2": "Cobra",
15
+ "3": "Downward-Dog",
16
+ "4": "Pigeon",
17
+ "5": "Standing-Mountain",
18
+ "6": "Tree",
19
+ "7": "Triangle",
20
+ "8": "Warrior"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "Bridge": 0,
27
+ "Child": 1,
28
+ "Cobra": 2,
29
+ "Downward-Dog": 3,
30
+ "Pigeon": 4,
31
+ "Standing-Mountain": 5,
32
+ "Tree": 6,
33
+ "Triangle": 7,
34
+ "Warrior": 8
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "model_type": "vit",
38
+ "num_attention_heads": 12,
39
+ "num_channels": 3,
40
+ "num_hidden_layers": 12,
41
+ "patch_size": 16,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.38.2"
46
+ }
checkpoint-290/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b6035521f4ef7db454b2df5411a13ec7722fb17a6f12a1c4b455e52599b9219
3
+ size 343245508
checkpoint-290/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e5c4f21c00457104418ccedcb96c3b94c6e2fa0a1b8c3d7cc1048b5a1b533e3
3
+ size 686611461
checkpoint-290/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-290/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:646c53c0d705cf16183852e9eeb4a0ff85be176e41605f0e586dc5f7ceb671a6
3
+ size 14575
checkpoint-290/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a7189f9b19e913b9342d2543b8805b6dea0f710b4840d24ef3fbe6929786607
3
+ size 627
checkpoint-290/trainer_state.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.2868703603744507,
3
+ "best_model_checkpoint": "yoga_pose_image_classification/checkpoint-290",
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 290,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.9684123025768911,
14
+ "eval_loss": 0.29443293809890747,
15
+ "eval_runtime": 17.8897,
16
+ "eval_samples_per_second": 67.246,
17
+ "eval_steps_per_second": 2.124,
18
+ "step": 29
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9667497921862012,
23
+ "eval_loss": 0.2943769097328186,
24
+ "eval_runtime": 17.6736,
25
+ "eval_samples_per_second": 68.068,
26
+ "eval_steps_per_second": 2.15,
27
+ "step": 58
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.9675810473815462,
32
+ "eval_loss": 0.29115039110183716,
33
+ "eval_runtime": 18.3015,
34
+ "eval_samples_per_second": 65.732,
35
+ "eval_steps_per_second": 2.076,
36
+ "step": 87
37
+ },
38
+ {
39
+ "epoch": 4.0,
40
+ "eval_accuracy": 0.9675810473815462,
41
+ "eval_loss": 0.29084068536758423,
42
+ "eval_runtime": 18.3914,
43
+ "eval_samples_per_second": 65.411,
44
+ "eval_steps_per_second": 2.066,
45
+ "step": 116
46
+ },
47
+ {
48
+ "epoch": 5.0,
49
+ "eval_accuracy": 0.9675810473815462,
50
+ "eval_loss": 0.2894010841846466,
51
+ "eval_runtime": 17.8879,
52
+ "eval_samples_per_second": 67.252,
53
+ "eval_steps_per_second": 2.124,
54
+ "step": 145
55
+ },
56
+ {
57
+ "epoch": 6.0,
58
+ "eval_accuracy": 0.9675810473815462,
59
+ "eval_loss": 0.28852760791778564,
60
+ "eval_runtime": 17.7874,
61
+ "eval_samples_per_second": 67.632,
62
+ "eval_steps_per_second": 2.136,
63
+ "step": 174
64
+ },
65
+ {
66
+ "epoch": 7.0,
67
+ "eval_accuracy": 0.9675810473815462,
68
+ "eval_loss": 0.2883720397949219,
69
+ "eval_runtime": 17.9997,
70
+ "eval_samples_per_second": 66.834,
71
+ "eval_steps_per_second": 2.111,
72
+ "step": 203
73
+ },
74
+ {
75
+ "epoch": 8.0,
76
+ "eval_accuracy": 0.9675810473815462,
77
+ "eval_loss": 0.2874354422092438,
78
+ "eval_runtime": 17.9322,
79
+ "eval_samples_per_second": 67.086,
80
+ "eval_steps_per_second": 2.119,
81
+ "step": 232
82
+ },
83
+ {
84
+ "epoch": 9.0,
85
+ "eval_accuracy": 0.9675810473815462,
86
+ "eval_loss": 0.2869909107685089,
87
+ "eval_runtime": 17.8127,
88
+ "eval_samples_per_second": 67.536,
89
+ "eval_steps_per_second": 2.133,
90
+ "step": 261
91
+ },
92
+ {
93
+ "epoch": 10.0,
94
+ "eval_accuracy": 0.9675810473815462,
95
+ "eval_loss": 0.2868703603744507,
96
+ "eval_runtime": 17.7384,
97
+ "eval_samples_per_second": 67.819,
98
+ "eval_steps_per_second": 2.142,
99
+ "step": 290
100
+ }
101
+ ],
102
+ "logging_steps": 500,
103
+ "max_steps": 290,
104
+ "num_input_tokens_seen": 0,
105
+ "num_train_epochs": 10,
106
+ "save_steps": 500,
107
+ "total_flos": 1.397268230163886e+18,
108
+ "train_batch_size": 64,
109
+ "trial_name": null,
110
+ "trial_params": null
111
+ }
checkpoint-290/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:188d02cbc8604ea91b8aa315aa90c872a5699c3de7b6b8aafdef998f03817185
3
+ size 4411
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -42,5 +42,5 @@
42
  "problem_type": "single_label_classification",
43
  "qkv_bias": true,
44
  "torch_dtype": "float32",
45
- "transformers_version": "4.35.2"
46
  }
 
1
  {
2
+ "_name_or_path": "dima806/yoga_pose_image_classification",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
42
  "problem_type": "single_label_classification",
43
  "qkv_bias": true,
44
  "torch_dtype": "float32",
45
+ "transformers_version": "4.38.2"
46
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:929d3e1f0a2285aa2165bbd131c14e00d8743cb7e422831240ac999593c1c4b1
3
  size 343245508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b6035521f4ef7db454b2df5411a13ec7722fb17a6f12a1c4b455e52599b9219
3
  size 343245508
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:acbec0f283828ec8d6f0c8e71a6119dbc3158d8801b0d50b9dfbeb0a01d5771c
3
- size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:188d02cbc8604ea91b8aa315aa90c872a5699c3de7b6b8aafdef998f03817185
3
+ size 4411