Upload folder using huggingface_hub
Browse files- checkpoint-3750/config.json +34 -0
- checkpoint-3750/optimizer.pt +3 -0
- checkpoint-3750/preprocessor_config.json +22 -0
- checkpoint-3750/pytorch_model.bin +3 -0
- checkpoint-3750/rng_state.pth +3 -0
- checkpoint-3750/scheduler.pt +3 -0
- checkpoint-3750/trainer_state.json +151 -0
- checkpoint-3750/training_args.bin +3 -0
- config.json +34 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
checkpoint-3750/config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
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": "Sandal",
|
13 |
+
"1": "Boot",
|
14 |
+
"2": "Shoe"
|
15 |
+
},
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"Boot": 1,
|
21 |
+
"Sandal": 0,
|
22 |
+
"Shoe": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"model_type": "vit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"qkv_bias": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.33.0"
|
34 |
+
}
|
checkpoint-3750/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a98efbdf24cd65e983ea6461b4b2ceba7ba55ab2eda520aab2696736fe1c964
|
3 |
+
size 686574597
|
checkpoint-3750/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-3750/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94999e3ffc5bd040ff741799719ff28cb66f4d929cb49d2456fd90a107429e69
|
3 |
+
size 343271789
|
checkpoint-3750/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d40fe73c0dd76560ea91a195e3b7d9a50ebc0ae28dc5b5c9f024cbd02d2792f3
|
3 |
+
size 14575
|
checkpoint-3750/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07b1a1e8f3e7421a9e6ea897d130f4c3143c046f573f471153baf5908135f440
|
3 |
+
size 627
|
checkpoint-3750/trainer_state.json
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.04055546224117279,
|
3 |
+
"best_model_checkpoint": "footwear_image_detection/checkpoint-3750",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3750,
|
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.988,
|
14 |
+
"eval_loss": 0.09857043623924255,
|
15 |
+
"eval_runtime": 27.2979,
|
16 |
+
"eval_samples_per_second": 109.898,
|
17 |
+
"eval_steps_per_second": 13.737,
|
18 |
+
"step": 375
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 1.33,
|
22 |
+
"learning_rate": 8.783783783783785e-06,
|
23 |
+
"loss": 0.2913,
|
24 |
+
"step": 500
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 2.0,
|
28 |
+
"eval_accuracy": 0.991,
|
29 |
+
"eval_loss": 0.06188898906111717,
|
30 |
+
"eval_runtime": 27.1425,
|
31 |
+
"eval_samples_per_second": 110.528,
|
32 |
+
"eval_steps_per_second": 13.816,
|
33 |
+
"step": 750
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 2.67,
|
37 |
+
"learning_rate": 7.4324324324324324e-06,
|
38 |
+
"loss": 0.045,
|
39 |
+
"step": 1000
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 3.0,
|
43 |
+
"eval_accuracy": 0.9883333333333333,
|
44 |
+
"eval_loss": 0.05572636052966118,
|
45 |
+
"eval_runtime": 26.8966,
|
46 |
+
"eval_samples_per_second": 111.538,
|
47 |
+
"eval_steps_per_second": 13.942,
|
48 |
+
"step": 1125
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 4.0,
|
52 |
+
"learning_rate": 6.081081081081082e-06,
|
53 |
+
"loss": 0.0264,
|
54 |
+
"step": 1500
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 4.0,
|
58 |
+
"eval_accuracy": 0.991,
|
59 |
+
"eval_loss": 0.04708857834339142,
|
60 |
+
"eval_runtime": 26.8084,
|
61 |
+
"eval_samples_per_second": 111.905,
|
62 |
+
"eval_steps_per_second": 13.988,
|
63 |
+
"step": 1500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 5.0,
|
67 |
+
"eval_accuracy": 0.9903333333333333,
|
68 |
+
"eval_loss": 0.0462254174053669,
|
69 |
+
"eval_runtime": 27.0947,
|
70 |
+
"eval_samples_per_second": 110.723,
|
71 |
+
"eval_steps_per_second": 13.84,
|
72 |
+
"step": 1875
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 5.33,
|
76 |
+
"learning_rate": 4.72972972972973e-06,
|
77 |
+
"loss": 0.0202,
|
78 |
+
"step": 2000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 6.0,
|
82 |
+
"eval_accuracy": 0.9913333333333333,
|
83 |
+
"eval_loss": 0.04317467287182808,
|
84 |
+
"eval_runtime": 26.9525,
|
85 |
+
"eval_samples_per_second": 111.307,
|
86 |
+
"eval_steps_per_second": 13.913,
|
87 |
+
"step": 2250
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 6.67,
|
91 |
+
"learning_rate": 3.3783783783783788e-06,
|
92 |
+
"loss": 0.0137,
|
93 |
+
"step": 2500
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 7.0,
|
97 |
+
"eval_accuracy": 0.9903333333333333,
|
98 |
+
"eval_loss": 0.04381159320473671,
|
99 |
+
"eval_runtime": 27.1278,
|
100 |
+
"eval_samples_per_second": 110.588,
|
101 |
+
"eval_steps_per_second": 13.823,
|
102 |
+
"step": 2625
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 8.0,
|
106 |
+
"learning_rate": 2.0270270270270273e-06,
|
107 |
+
"loss": 0.0113,
|
108 |
+
"step": 3000
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 8.0,
|
112 |
+
"eval_accuracy": 0.9903333333333333,
|
113 |
+
"eval_loss": 0.0411774106323719,
|
114 |
+
"eval_runtime": 27.0085,
|
115 |
+
"eval_samples_per_second": 111.076,
|
116 |
+
"eval_steps_per_second": 13.885,
|
117 |
+
"step": 3000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 9.0,
|
121 |
+
"eval_accuracy": 0.9906666666666667,
|
122 |
+
"eval_loss": 0.04207724705338478,
|
123 |
+
"eval_runtime": 27.4798,
|
124 |
+
"eval_samples_per_second": 109.171,
|
125 |
+
"eval_steps_per_second": 13.646,
|
126 |
+
"step": 3375
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 9.33,
|
130 |
+
"learning_rate": 6.756756756756758e-07,
|
131 |
+
"loss": 0.0092,
|
132 |
+
"step": 3500
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 10.0,
|
136 |
+
"eval_accuracy": 0.9906666666666667,
|
137 |
+
"eval_loss": 0.04055546224117279,
|
138 |
+
"eval_runtime": 26.9342,
|
139 |
+
"eval_samples_per_second": 111.382,
|
140 |
+
"eval_steps_per_second": 13.923,
|
141 |
+
"step": 3750
|
142 |
+
}
|
143 |
+
],
|
144 |
+
"logging_steps": 500,
|
145 |
+
"max_steps": 3750,
|
146 |
+
"num_train_epochs": 10,
|
147 |
+
"save_steps": 500,
|
148 |
+
"total_flos": 9.29912209809408e+18,
|
149 |
+
"trial_name": null,
|
150 |
+
"trial_params": null
|
151 |
+
}
|
checkpoint-3750/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1731fb814b8cdfc420e4112616dd22ae598902c61f632cc74a00d6a64b9f8d70
|
3 |
+
size 4027
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
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": "Sandal",
|
13 |
+
"1": "Boot",
|
14 |
+
"2": "Shoe"
|
15 |
+
},
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"Boot": 1,
|
21 |
+
"Sandal": 0,
|
22 |
+
"Shoe": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"model_type": "vit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"qkv_bias": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.33.0"
|
34 |
+
}
|
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 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94999e3ffc5bd040ff741799719ff28cb66f4d929cb49d2456fd90a107429e69
|
3 |
+
size 343271789
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1731fb814b8cdfc420e4112616dd22ae598902c61f632cc74a00d6a64b9f8d70
|
3 |
+
size 4027
|