bryanrsmith
commited on
Commit
•
0a59f53
1
Parent(s):
f485d23
Upload folder using huggingface_hub
Browse files- README.md +42 -0
- checkpoint-26/config.json +58 -0
- checkpoint-26/model.safetensors +3 -0
- checkpoint-26/optimizer.pt +3 -0
- checkpoint-26/rng_state.pth +3 -0
- checkpoint-26/scheduler.pt +3 -0
- checkpoint-26/trainer_state.json +195 -0
- checkpoint-26/training_args.bin +3 -0
- config.json +58 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
widget:
|
7 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
8 |
+
example_title: Tiger
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
10 |
+
example_title: Teapot
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
12 |
+
example_title: Palace
|
13 |
+
datasets:
|
14 |
+
- 99spokes/autotrain-data-bike-image-classifier-autotrain-resnet
|
15 |
+
---
|
16 |
+
|
17 |
+
# Model Trained Using AutoTrain
|
18 |
+
|
19 |
+
- Problem type: Image Classification
|
20 |
+
|
21 |
+
## Validation Metricsg
|
22 |
+
loss: nan
|
23 |
+
|
24 |
+
f1_macro: 0.029761904761904757
|
25 |
+
|
26 |
+
f1_micro: 0.09803921568627451
|
27 |
+
|
28 |
+
f1_weighted: 0.01750700280112045
|
29 |
+
|
30 |
+
precision_macro: 0.016339869281045753
|
31 |
+
|
32 |
+
precision_micro: 0.09803921568627451
|
33 |
+
|
34 |
+
precision_weighted: 0.009611687812379853
|
35 |
+
|
36 |
+
recall_macro: 0.16666666666666666
|
37 |
+
|
38 |
+
recall_micro: 0.09803921568627451
|
39 |
+
|
40 |
+
recall_weighted: 0.09803921568627451
|
41 |
+
|
42 |
+
accuracy: 0.09803921568627451
|
checkpoint-26/config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-50",
|
3 |
+
"_num_labels": 6,
|
4 |
+
"architectures": [
|
5 |
+
"ResNetForImageClassification"
|
6 |
+
],
|
7 |
+
"depths": [
|
8 |
+
3,
|
9 |
+
4,
|
10 |
+
6,
|
11 |
+
3
|
12 |
+
],
|
13 |
+
"downsample_in_bottleneck": false,
|
14 |
+
"downsample_in_first_stage": false,
|
15 |
+
"embedding_size": 64,
|
16 |
+
"hidden_act": "relu",
|
17 |
+
"hidden_sizes": [
|
18 |
+
256,
|
19 |
+
512,
|
20 |
+
1024,
|
21 |
+
2048
|
22 |
+
],
|
23 |
+
"id2label": {
|
24 |
+
"0": "action",
|
25 |
+
"1": "frameset",
|
26 |
+
"2": "geometry",
|
27 |
+
"3": "placeholder",
|
28 |
+
"4": "studio-other",
|
29 |
+
"5": "studio-side"
|
30 |
+
},
|
31 |
+
"label2id": {
|
32 |
+
"action": 0,
|
33 |
+
"frameset": 1,
|
34 |
+
"geometry": 2,
|
35 |
+
"placeholder": 3,
|
36 |
+
"studio-other": 4,
|
37 |
+
"studio-side": 5
|
38 |
+
},
|
39 |
+
"layer_type": "bottleneck",
|
40 |
+
"model_type": "resnet",
|
41 |
+
"num_channels": 3,
|
42 |
+
"out_features": [
|
43 |
+
"stage4"
|
44 |
+
],
|
45 |
+
"out_indices": [
|
46 |
+
4
|
47 |
+
],
|
48 |
+
"problem_type": "single_label_classification",
|
49 |
+
"stage_names": [
|
50 |
+
"stem",
|
51 |
+
"stage1",
|
52 |
+
"stage2",
|
53 |
+
"stage3",
|
54 |
+
"stage4"
|
55 |
+
],
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.36.1"
|
58 |
+
}
|
checkpoint-26/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8602e81dccf9b175683eaa2078f9ac6bdfd25c8d04cf87e8cdadc90c26b09c0f
|
3 |
+
size 94335752
|
checkpoint-26/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c2bb2b3a497fc57f7d5959057db689597518d096547794d8a5378f11b96b00d
|
3 |
+
size 1576
|
checkpoint-26/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae4ec8aa9025d8f5cdead058339d64ce3ce1525941810f3ea2dbece8ca6b856b
|
3 |
+
size 14244
|
checkpoint-26/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e6fbcd3c00a10aa00f162b699415671dae438033522565f55888b4b3a057c0d
|
3 |
+
size 1064
|
checkpoint-26/trainer_state.json
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": NaN,
|
3 |
+
"best_model_checkpoint": "/tmp/model/checkpoint-26",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 26,
|
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.04,
|
13 |
+
"learning_rate": 0.0,
|
14 |
+
"loss": 0.0,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.08,
|
19 |
+
"learning_rate": 0.0,
|
20 |
+
"loss": 0.0,
|
21 |
+
"step": 2
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.12,
|
25 |
+
"learning_rate": 0.0,
|
26 |
+
"loss": 0.0,
|
27 |
+
"step": 3
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.15,
|
31 |
+
"learning_rate": 0.0,
|
32 |
+
"loss": 0.0,
|
33 |
+
"step": 4
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.19,
|
37 |
+
"learning_rate": 0.0,
|
38 |
+
"loss": 0.0,
|
39 |
+
"step": 5
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.23,
|
43 |
+
"learning_rate": 0.0,
|
44 |
+
"loss": 0.0,
|
45 |
+
"step": 6
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.27,
|
49 |
+
"learning_rate": 0.0,
|
50 |
+
"loss": 0.0,
|
51 |
+
"step": 7
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.31,
|
55 |
+
"learning_rate": 0.0,
|
56 |
+
"loss": 0.0,
|
57 |
+
"step": 8
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.35,
|
61 |
+
"learning_rate": 0.0,
|
62 |
+
"loss": 0.0,
|
63 |
+
"step": 9
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.38,
|
67 |
+
"learning_rate": 0.0,
|
68 |
+
"loss": 0.0,
|
69 |
+
"step": 10
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.42,
|
73 |
+
"learning_rate": 0.0,
|
74 |
+
"loss": 0.0,
|
75 |
+
"step": 11
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.46,
|
79 |
+
"learning_rate": 0.0,
|
80 |
+
"loss": 0.0,
|
81 |
+
"step": 12
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.5,
|
85 |
+
"learning_rate": 0.0,
|
86 |
+
"loss": 0.0,
|
87 |
+
"step": 13
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.54,
|
91 |
+
"learning_rate": 0.0,
|
92 |
+
"loss": 0.0,
|
93 |
+
"step": 14
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.58,
|
97 |
+
"learning_rate": 0.0,
|
98 |
+
"loss": 0.0,
|
99 |
+
"step": 15
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.62,
|
103 |
+
"learning_rate": 0.0,
|
104 |
+
"loss": 0.0,
|
105 |
+
"step": 16
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.65,
|
109 |
+
"learning_rate": 0.0,
|
110 |
+
"loss": 0.0,
|
111 |
+
"step": 17
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.69,
|
115 |
+
"learning_rate": 0.0,
|
116 |
+
"loss": 0.0,
|
117 |
+
"step": 18
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 0.73,
|
121 |
+
"learning_rate": 0.0,
|
122 |
+
"loss": 0.0,
|
123 |
+
"step": 19
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 0.77,
|
127 |
+
"learning_rate": 0.0,
|
128 |
+
"loss": 0.0,
|
129 |
+
"step": 20
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.81,
|
133 |
+
"learning_rate": 0.0,
|
134 |
+
"loss": 0.0,
|
135 |
+
"step": 21
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.85,
|
139 |
+
"learning_rate": 0.0,
|
140 |
+
"loss": 0.0,
|
141 |
+
"step": 22
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 0.88,
|
145 |
+
"learning_rate": 0.0,
|
146 |
+
"loss": 0.0,
|
147 |
+
"step": 23
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 0.92,
|
151 |
+
"learning_rate": 0.0,
|
152 |
+
"loss": 0.0,
|
153 |
+
"step": 24
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 0.96,
|
157 |
+
"learning_rate": 0.0,
|
158 |
+
"loss": 0.0,
|
159 |
+
"step": 25
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 1.0,
|
163 |
+
"learning_rate": 0.0,
|
164 |
+
"loss": 0.0,
|
165 |
+
"step": 26
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 1.0,
|
169 |
+
"eval_accuracy": 0.09803921568627451,
|
170 |
+
"eval_f1_macro": 0.029761904761904757,
|
171 |
+
"eval_f1_micro": 0.09803921568627451,
|
172 |
+
"eval_f1_weighted": 0.01750700280112045,
|
173 |
+
"eval_loss": NaN,
|
174 |
+
"eval_precision_macro": 0.016339869281045753,
|
175 |
+
"eval_precision_micro": 0.09803921568627451,
|
176 |
+
"eval_precision_weighted": 0.009611687812379853,
|
177 |
+
"eval_recall_macro": 0.16666666666666666,
|
178 |
+
"eval_recall_micro": 0.09803921568627451,
|
179 |
+
"eval_recall_weighted": 0.09803921568627451,
|
180 |
+
"eval_runtime": 0.4259,
|
181 |
+
"eval_samples_per_second": 119.753,
|
182 |
+
"eval_steps_per_second": 9.392,
|
183 |
+
"step": 26
|
184 |
+
}
|
185 |
+
],
|
186 |
+
"logging_steps": 1,
|
187 |
+
"max_steps": 260,
|
188 |
+
"num_input_tokens_seen": 0,
|
189 |
+
"num_train_epochs": 10,
|
190 |
+
"save_steps": 500,
|
191 |
+
"total_flos": 4269803964346368.0,
|
192 |
+
"train_batch_size": 8,
|
193 |
+
"trial_name": null,
|
194 |
+
"trial_params": null
|
195 |
+
}
|
checkpoint-26/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f11b785f5fe50e080d7907d10c45a208a68ed81ad326884d09b133501011e37f
|
3 |
+
size 4728
|
config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-50",
|
3 |
+
"_num_labels": 6,
|
4 |
+
"architectures": [
|
5 |
+
"ResNetForImageClassification"
|
6 |
+
],
|
7 |
+
"depths": [
|
8 |
+
3,
|
9 |
+
4,
|
10 |
+
6,
|
11 |
+
3
|
12 |
+
],
|
13 |
+
"downsample_in_bottleneck": false,
|
14 |
+
"downsample_in_first_stage": false,
|
15 |
+
"embedding_size": 64,
|
16 |
+
"hidden_act": "relu",
|
17 |
+
"hidden_sizes": [
|
18 |
+
256,
|
19 |
+
512,
|
20 |
+
1024,
|
21 |
+
2048
|
22 |
+
],
|
23 |
+
"id2label": {
|
24 |
+
"0": "action",
|
25 |
+
"1": "frameset",
|
26 |
+
"2": "geometry",
|
27 |
+
"3": "placeholder",
|
28 |
+
"4": "studio-other",
|
29 |
+
"5": "studio-side"
|
30 |
+
},
|
31 |
+
"label2id": {
|
32 |
+
"action": 0,
|
33 |
+
"frameset": 1,
|
34 |
+
"geometry": 2,
|
35 |
+
"placeholder": 3,
|
36 |
+
"studio-other": 4,
|
37 |
+
"studio-side": 5
|
38 |
+
},
|
39 |
+
"layer_type": "bottleneck",
|
40 |
+
"model_type": "resnet",
|
41 |
+
"num_channels": 3,
|
42 |
+
"out_features": [
|
43 |
+
"stage4"
|
44 |
+
],
|
45 |
+
"out_indices": [
|
46 |
+
4
|
47 |
+
],
|
48 |
+
"problem_type": "single_label_classification",
|
49 |
+
"stage_names": [
|
50 |
+
"stem",
|
51 |
+
"stage1",
|
52 |
+
"stage2",
|
53 |
+
"stage3",
|
54 |
+
"stage4"
|
55 |
+
],
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.36.1"
|
58 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8602e81dccf9b175683eaa2078f9ac6bdfd25c8d04cf87e8cdadc90c26b09c0f
|
3 |
+
size 94335752
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f11b785f5fe50e080d7907d10c45a208a68ed81ad326884d09b133501011e37f
|
3 |
+
size 4728
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "99spokes/autotrain-data-bike-image-classifier-autotrain-resnet",
|
3 |
+
"model": "microsoft/resnet-50",
|
4 |
+
"username": "99spokes",
|
5 |
+
"lr": 0.0001,
|
6 |
+
"epochs": 10,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "/tmp/model",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"save_strategy": "epoch",
|
23 |
+
"push_to_hub": true,
|
24 |
+
"repo_id": "99spokes/bike-image-classifier-autotrain-resnet",
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"image_column": "autotrain_image",
|
27 |
+
"target_column": "autotrain_label",
|
28 |
+
"log": "none"
|
29 |
+
}
|