dima806 commited on
Commit
3496e84
1 Parent(s): 616cd15

Upload folder using huggingface_hub

Browse files
checkpoint-2780/config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Crocus",
13
+ "1": "Roses of Sharon (Hibiscus syriacus)",
14
+ "2": "Rhododendrons (Rhododendron)",
15
+ "3": "Tropical Milkweed (Asclepias curassavica)",
16
+ "4": "American Beautyberry (Callicarpa americana)",
17
+ "5": "Gourds, Squashes and Pumpkins (Cucurbita)",
18
+ "6": "Hostas (Hosta)",
19
+ "7": "Butterfly Milkweed (Asclepias tuberosa)",
20
+ "8": "Black Eyed Susans (Rudbeckia)",
21
+ "9": "Bleeding Heart (Lamprocapnos spectabilis)",
22
+ "10": "Dahlias (Dahlia)",
23
+ "11": "Hibiscus",
24
+ "12": "Hosta 'Blue Mouse Ears'",
25
+ "13": "Moonflower (Ipomoea alba)",
26
+ "14": "Blazing Star (Liatris spicata)",
27
+ "15": "Petunias (Petunia)",
28
+ "16": "Plumerias (Plumeria)",
29
+ "17": "Salvias (Salvia)",
30
+ "18": "Aloes (Aloe)",
31
+ "19": "Japanese Morning Glory (Ipomoea nil)",
32
+ "20": "Purple Coneflower (Echinacea purpurea)",
33
+ "21": "New England Aster (Symphyotrichum novae-angliae)",
34
+ "22": "Hydrangeas (Hydrangea)",
35
+ "23": "Peonies (Paeonia)",
36
+ "24": "Gladiola (Gladiolus)",
37
+ "25": "Poppies (Papaver)",
38
+ "26": "rose",
39
+ "27": "Cannas (Canna)",
40
+ "28": "Tomatoes (Solanum lycopersicum)",
41
+ "29": "Caladiums (Caladium)",
42
+ "30": "Dianthus",
43
+ "31": "Columbines (Aquilegia)"
44
+ },
45
+ "image_size": 224,
46
+ "initializer_range": 0.02,
47
+ "intermediate_size": 3072,
48
+ "label2id": {
49
+ "Aloes (Aloe)": 18,
50
+ "American Beautyberry (Callicarpa americana)": 4,
51
+ "Black Eyed Susans (Rudbeckia)": 8,
52
+ "Blazing Star (Liatris spicata)": 14,
53
+ "Bleeding Heart (Lamprocapnos spectabilis)": 9,
54
+ "Butterfly Milkweed (Asclepias tuberosa)": 7,
55
+ "Caladiums (Caladium)": 29,
56
+ "Cannas (Canna)": 27,
57
+ "Columbines (Aquilegia)": 31,
58
+ "Crocus": 0,
59
+ "Dahlias (Dahlia)": 10,
60
+ "Dianthus": 30,
61
+ "Gladiola (Gladiolus)": 24,
62
+ "Gourds, Squashes and Pumpkins (Cucurbita)": 5,
63
+ "Hibiscus": 11,
64
+ "Hosta 'Blue Mouse Ears'": 12,
65
+ "Hostas (Hosta)": 6,
66
+ "Hydrangeas (Hydrangea)": 22,
67
+ "Japanese Morning Glory (Ipomoea nil)": 19,
68
+ "Moonflower (Ipomoea alba)": 13,
69
+ "New England Aster (Symphyotrichum novae-angliae)": 21,
70
+ "Peonies (Paeonia)": 23,
71
+ "Petunias (Petunia)": 15,
72
+ "Plumerias (Plumeria)": 16,
73
+ "Poppies (Papaver)": 25,
74
+ "Purple Coneflower (Echinacea purpurea)": 20,
75
+ "Rhododendrons (Rhododendron)": 2,
76
+ "Roses of Sharon (Hibiscus syriacus)": 1,
77
+ "Salvias (Salvia)": 17,
78
+ "Tomatoes (Solanum lycopersicum)": 28,
79
+ "Tropical Milkweed (Asclepias curassavica)": 3,
80
+ "rose": 26
81
+ },
82
+ "layer_norm_eps": 1e-12,
83
+ "model_type": "vit",
84
+ "num_attention_heads": 12,
85
+ "num_channels": 3,
86
+ "num_hidden_layers": 12,
87
+ "patch_size": 16,
88
+ "problem_type": "single_label_classification",
89
+ "qkv_bias": true,
90
+ "torch_dtype": "float32",
91
+ "transformers_version": "4.33.2"
92
+ }
checkpoint-2780/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df679cac173163955bfb297eeaecad87a3210f7b5f4a92d7a7b85cb341f4738e
3
+ size 686753029
checkpoint-2780/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-2780/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a54c39d0a48410b47e9ff13c56e4fad30cec37a1962ae4d3d1dc98a99b278b3
3
+ size 343361005
checkpoint-2780/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67179fe5221fa57bf64adf56445e16806f1c8df30f9d612dce1ee85375d92478
3
+ size 14575
checkpoint-2780/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3bf05d06d86d6cda63815e09f78492bbd56c3fb42e059e5e334f99ffda5a3ed
3
+ size 627
checkpoint-2780/trainer_state.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.1523780822753906,
3
+ "best_model_checkpoint": "flowers_image_detection/checkpoint-2780",
4
+ "epoch": 20.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2780,
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.42882882882882883,
14
+ "eval_loss": 3.241873025894165,
15
+ "eval_runtime": 10.7562,
16
+ "eval_samples_per_second": 103.196,
17
+ "eval_steps_per_second": 12.923,
18
+ "step": 139
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.6378378378378379,
23
+ "eval_loss": 2.929600477218628,
24
+ "eval_runtime": 10.7704,
25
+ "eval_samples_per_second": 103.06,
26
+ "eval_steps_per_second": 12.906,
27
+ "step": 278
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.7585585585585586,
32
+ "eval_loss": 2.6281425952911377,
33
+ "eval_runtime": 10.6539,
34
+ "eval_samples_per_second": 104.187,
35
+ "eval_steps_per_second": 13.047,
36
+ "step": 417
37
+ },
38
+ {
39
+ "epoch": 3.6,
40
+ "learning_rate": 8.351648351648353e-06,
41
+ "loss": 2.9311,
42
+ "step": 500
43
+ },
44
+ {
45
+ "epoch": 4.0,
46
+ "eval_accuracy": 0.7972972972972973,
47
+ "eval_loss": 2.3711183071136475,
48
+ "eval_runtime": 10.683,
49
+ "eval_samples_per_second": 103.903,
50
+ "eval_steps_per_second": 13.011,
51
+ "step": 556
52
+ },
53
+ {
54
+ "epoch": 5.0,
55
+ "eval_accuracy": 0.8315315315315316,
56
+ "eval_loss": 2.161473274230957,
57
+ "eval_runtime": 10.8746,
58
+ "eval_samples_per_second": 102.073,
59
+ "eval_steps_per_second": 12.782,
60
+ "step": 695
61
+ },
62
+ {
63
+ "epoch": 6.0,
64
+ "eval_accuracy": 0.8468468468468469,
65
+ "eval_loss": 1.9815605878829956,
66
+ "eval_runtime": 10.6654,
67
+ "eval_samples_per_second": 104.075,
68
+ "eval_steps_per_second": 13.033,
69
+ "step": 834
70
+ },
71
+ {
72
+ "epoch": 7.0,
73
+ "eval_accuracy": 0.8657657657657658,
74
+ "eval_loss": 1.8246235847473145,
75
+ "eval_runtime": 10.8392,
76
+ "eval_samples_per_second": 102.406,
77
+ "eval_steps_per_second": 12.824,
78
+ "step": 973
79
+ },
80
+ {
81
+ "epoch": 7.19,
82
+ "learning_rate": 6.5201465201465204e-06,
83
+ "loss": 1.9674,
84
+ "step": 1000
85
+ },
86
+ {
87
+ "epoch": 8.0,
88
+ "eval_accuracy": 0.8747747747747747,
89
+ "eval_loss": 1.7018743753433228,
90
+ "eval_runtime": 10.6972,
91
+ "eval_samples_per_second": 103.765,
92
+ "eval_steps_per_second": 12.994,
93
+ "step": 1112
94
+ },
95
+ {
96
+ "epoch": 9.0,
97
+ "eval_accuracy": 0.8738738738738738,
98
+ "eval_loss": 1.5962648391723633,
99
+ "eval_runtime": 10.9948,
100
+ "eval_samples_per_second": 100.957,
101
+ "eval_steps_per_second": 12.642,
102
+ "step": 1251
103
+ },
104
+ {
105
+ "epoch": 10.0,
106
+ "eval_accuracy": 0.881981981981982,
107
+ "eval_loss": 1.5058796405792236,
108
+ "eval_runtime": 10.5932,
109
+ "eval_samples_per_second": 104.784,
110
+ "eval_steps_per_second": 13.122,
111
+ "step": 1390
112
+ },
113
+ {
114
+ "epoch": 10.79,
115
+ "learning_rate": 4.688644688644689e-06,
116
+ "loss": 1.4254,
117
+ "step": 1500
118
+ },
119
+ {
120
+ "epoch": 11.0,
121
+ "eval_accuracy": 0.8855855855855855,
122
+ "eval_loss": 1.4283403158187866,
123
+ "eval_runtime": 10.9479,
124
+ "eval_samples_per_second": 101.39,
125
+ "eval_steps_per_second": 12.697,
126
+ "step": 1529
127
+ },
128
+ {
129
+ "epoch": 12.0,
130
+ "eval_accuracy": 0.8882882882882883,
131
+ "eval_loss": 1.3638710975646973,
132
+ "eval_runtime": 10.6646,
133
+ "eval_samples_per_second": 104.082,
134
+ "eval_steps_per_second": 13.034,
135
+ "step": 1668
136
+ },
137
+ {
138
+ "epoch": 13.0,
139
+ "eval_accuracy": 0.8900900900900901,
140
+ "eval_loss": 1.3107937574386597,
141
+ "eval_runtime": 10.893,
142
+ "eval_samples_per_second": 101.9,
143
+ "eval_steps_per_second": 12.76,
144
+ "step": 1807
145
+ },
146
+ {
147
+ "epoch": 14.0,
148
+ "eval_accuracy": 0.8927927927927928,
149
+ "eval_loss": 1.2697221040725708,
150
+ "eval_runtime": 10.6225,
151
+ "eval_samples_per_second": 104.495,
152
+ "eval_steps_per_second": 13.085,
153
+ "step": 1946
154
+ },
155
+ {
156
+ "epoch": 14.39,
157
+ "learning_rate": 2.8571428571428573e-06,
158
+ "loss": 1.1236,
159
+ "step": 2000
160
+ },
161
+ {
162
+ "epoch": 15.0,
163
+ "eval_accuracy": 0.8927927927927928,
164
+ "eval_loss": 1.2321548461914062,
165
+ "eval_runtime": 10.9992,
166
+ "eval_samples_per_second": 100.917,
167
+ "eval_steps_per_second": 12.637,
168
+ "step": 2085
169
+ },
170
+ {
171
+ "epoch": 16.0,
172
+ "eval_accuracy": 0.8936936936936937,
173
+ "eval_loss": 1.2019907236099243,
174
+ "eval_runtime": 10.6905,
175
+ "eval_samples_per_second": 103.831,
176
+ "eval_steps_per_second": 13.002,
177
+ "step": 2224
178
+ },
179
+ {
180
+ "epoch": 17.0,
181
+ "eval_accuracy": 0.8945945945945946,
182
+ "eval_loss": 1.1794919967651367,
183
+ "eval_runtime": 10.9046,
184
+ "eval_samples_per_second": 101.792,
185
+ "eval_steps_per_second": 12.747,
186
+ "step": 2363
187
+ },
188
+ {
189
+ "epoch": 17.99,
190
+ "learning_rate": 1.0256410256410257e-06,
191
+ "loss": 0.9693,
192
+ "step": 2500
193
+ },
194
+ {
195
+ "epoch": 18.0,
196
+ "eval_accuracy": 0.9,
197
+ "eval_loss": 1.1641703844070435,
198
+ "eval_runtime": 10.5836,
199
+ "eval_samples_per_second": 104.879,
200
+ "eval_steps_per_second": 13.134,
201
+ "step": 2502
202
+ },
203
+ {
204
+ "epoch": 19.0,
205
+ "eval_accuracy": 0.9009009009009009,
206
+ "eval_loss": 1.155342698097229,
207
+ "eval_runtime": 10.5817,
208
+ "eval_samples_per_second": 104.898,
209
+ "eval_steps_per_second": 13.136,
210
+ "step": 2641
211
+ },
212
+ {
213
+ "epoch": 20.0,
214
+ "eval_accuracy": 0.9,
215
+ "eval_loss": 1.1523780822753906,
216
+ "eval_runtime": 10.6258,
217
+ "eval_samples_per_second": 104.463,
218
+ "eval_steps_per_second": 13.081,
219
+ "step": 2780
220
+ }
221
+ ],
222
+ "logging_steps": 500,
223
+ "max_steps": 2780,
224
+ "num_train_epochs": 20,
225
+ "save_steps": 500,
226
+ "total_flos": 6.876937896135229e+18,
227
+ "trial_name": null,
228
+ "trial_params": null
229
+ }
checkpoint-2780/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab6cdc2201e76e5c89f884783e9bfe5f26a144a8dd6bb479ccc96a9c7f13efd
3
+ size 4027
config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Crocus",
13
+ "1": "Roses of Sharon (Hibiscus syriacus)",
14
+ "2": "Rhododendrons (Rhododendron)",
15
+ "3": "Tropical Milkweed (Asclepias curassavica)",
16
+ "4": "American Beautyberry (Callicarpa americana)",
17
+ "5": "Gourds, Squashes and Pumpkins (Cucurbita)",
18
+ "6": "Hostas (Hosta)",
19
+ "7": "Butterfly Milkweed (Asclepias tuberosa)",
20
+ "8": "Black Eyed Susans (Rudbeckia)",
21
+ "9": "Bleeding Heart (Lamprocapnos spectabilis)",
22
+ "10": "Dahlias (Dahlia)",
23
+ "11": "Hibiscus",
24
+ "12": "Hosta 'Blue Mouse Ears'",
25
+ "13": "Moonflower (Ipomoea alba)",
26
+ "14": "Blazing Star (Liatris spicata)",
27
+ "15": "Petunias (Petunia)",
28
+ "16": "Plumerias (Plumeria)",
29
+ "17": "Salvias (Salvia)",
30
+ "18": "Aloes (Aloe)",
31
+ "19": "Japanese Morning Glory (Ipomoea nil)",
32
+ "20": "Purple Coneflower (Echinacea purpurea)",
33
+ "21": "New England Aster (Symphyotrichum novae-angliae)",
34
+ "22": "Hydrangeas (Hydrangea)",
35
+ "23": "Peonies (Paeonia)",
36
+ "24": "Gladiola (Gladiolus)",
37
+ "25": "Poppies (Papaver)",
38
+ "26": "rose",
39
+ "27": "Cannas (Canna)",
40
+ "28": "Tomatoes (Solanum lycopersicum)",
41
+ "29": "Caladiums (Caladium)",
42
+ "30": "Dianthus",
43
+ "31": "Columbines (Aquilegia)"
44
+ },
45
+ "image_size": 224,
46
+ "initializer_range": 0.02,
47
+ "intermediate_size": 3072,
48
+ "label2id": {
49
+ "Aloes (Aloe)": 18,
50
+ "American Beautyberry (Callicarpa americana)": 4,
51
+ "Black Eyed Susans (Rudbeckia)": 8,
52
+ "Blazing Star (Liatris spicata)": 14,
53
+ "Bleeding Heart (Lamprocapnos spectabilis)": 9,
54
+ "Butterfly Milkweed (Asclepias tuberosa)": 7,
55
+ "Caladiums (Caladium)": 29,
56
+ "Cannas (Canna)": 27,
57
+ "Columbines (Aquilegia)": 31,
58
+ "Crocus": 0,
59
+ "Dahlias (Dahlia)": 10,
60
+ "Dianthus": 30,
61
+ "Gladiola (Gladiolus)": 24,
62
+ "Gourds, Squashes and Pumpkins (Cucurbita)": 5,
63
+ "Hibiscus": 11,
64
+ "Hosta 'Blue Mouse Ears'": 12,
65
+ "Hostas (Hosta)": 6,
66
+ "Hydrangeas (Hydrangea)": 22,
67
+ "Japanese Morning Glory (Ipomoea nil)": 19,
68
+ "Moonflower (Ipomoea alba)": 13,
69
+ "New England Aster (Symphyotrichum novae-angliae)": 21,
70
+ "Peonies (Paeonia)": 23,
71
+ "Petunias (Petunia)": 15,
72
+ "Plumerias (Plumeria)": 16,
73
+ "Poppies (Papaver)": 25,
74
+ "Purple Coneflower (Echinacea purpurea)": 20,
75
+ "Rhododendrons (Rhododendron)": 2,
76
+ "Roses of Sharon (Hibiscus syriacus)": 1,
77
+ "Salvias (Salvia)": 17,
78
+ "Tomatoes (Solanum lycopersicum)": 28,
79
+ "Tropical Milkweed (Asclepias curassavica)": 3,
80
+ "rose": 26
81
+ },
82
+ "layer_norm_eps": 1e-12,
83
+ "model_type": "vit",
84
+ "num_attention_heads": 12,
85
+ "num_channels": 3,
86
+ "num_hidden_layers": 12,
87
+ "patch_size": 16,
88
+ "problem_type": "single_label_classification",
89
+ "qkv_bias": true,
90
+ "torch_dtype": "float32",
91
+ "transformers_version": "4.33.2"
92
+ }
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:2a54c39d0a48410b47e9ff13c56e4fad30cec37a1962ae4d3d1dc98a99b278b3
3
+ size 343361005
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab6cdc2201e76e5c89f884783e9bfe5f26a144a8dd6bb479ccc96a9c7f13efd
3
+ size 4027