dima806 commited on
Commit
d27692e
1 Parent(s): 75d151b

Upload folder using huggingface_hub

Browse files
checkpoint-1551/config.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/flower_groups_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": "tarragon",
13
+ "1": "blanketflowers",
14
+ "2": "coralbells",
15
+ "3": "tulips",
16
+ "4": "daffodils",
17
+ "5": "peas",
18
+ "6": "garlic",
19
+ "7": "sunroots",
20
+ "8": "milkweed",
21
+ "9": "celery",
22
+ "10": "dill",
23
+ "11": "phlox",
24
+ "12": "peonies",
25
+ "13": "coneflowers",
26
+ "14": "beets",
27
+ "15": "beans",
28
+ "16": "onions",
29
+ "17": "bellflowers",
30
+ "18": "delphiniums",
31
+ "19": "oleanders",
32
+ "20": "roseofsharon",
33
+ "21": "cantaloupes",
34
+ "22": "deadnettles",
35
+ "23": "viburnums",
36
+ "24": "dianthus",
37
+ "25": "peaches",
38
+ "26": "aloes",
39
+ "27": "parsley",
40
+ "28": "penstemon",
41
+ "29": "thyme",
42
+ "30": "citrus",
43
+ "31": "bleeding-hearts",
44
+ "32": "dogwoods",
45
+ "33": "black-eyed-susans",
46
+ "34": "petunias",
47
+ "35": "jujubes",
48
+ "36": "arborvitaes",
49
+ "37": "lilies",
50
+ "38": "crinums",
51
+ "39": "catmints",
52
+ "40": "astilbe",
53
+ "41": "beautyberries",
54
+ "42": "beebalms",
55
+ "43": "foxgloves",
56
+ "44": "gladiolus",
57
+ "45": "plums",
58
+ "46": "vitis",
59
+ "47": "ninebarks",
60
+ "48": "lettuces",
61
+ "49": "poppies",
62
+ "50": "smoketrees",
63
+ "51": "irises",
64
+ "52": "cilantro",
65
+ "53": "artichokes",
66
+ "54": "lambsears",
67
+ "55": "butterworts",
68
+ "56": "babysbreath",
69
+ "57": "cucurbits",
70
+ "58": "plumerias",
71
+ "59": "liatris",
72
+ "60": "carrots",
73
+ "61": "crepe-myrtles",
74
+ "62": "oregano",
75
+ "63": "ilex",
76
+ "64": "butterflybushes",
77
+ "65": "sage",
78
+ "66": "baptisia",
79
+ "67": "sempervivum",
80
+ "68": "asparagus",
81
+ "69": "radishes",
82
+ "70": "parsnips",
83
+ "71": "hibiscus",
84
+ "72": "rhododendrons",
85
+ "73": "potatoes",
86
+ "74": "hydrangeas",
87
+ "75": "swisschard",
88
+ "76": "cannas",
89
+ "77": "brassicas",
90
+ "78": "rubus",
91
+ "79": "columbines",
92
+ "80": "echeverias",
93
+ "81": "okra",
94
+ "82": "aeoniums",
95
+ "83": "yarrows",
96
+ "84": "roses",
97
+ "85": "basil",
98
+ "86": "spiraeas",
99
+ "87": "caladiums",
100
+ "88": "spinach",
101
+ "89": "wisterias",
102
+ "90": "cherries",
103
+ "91": "marjoram",
104
+ "92": "hyacinths",
105
+ "93": "rhubarbs",
106
+ "94": "tickseeds",
107
+ "95": "perovskia",
108
+ "96": "crocus",
109
+ "97": "mints",
110
+ "98": "heavenly-bamboos",
111
+ "99": "agaves",
112
+ "100": "pears",
113
+ "101": "dudleyas",
114
+ "102": "pachypodiums",
115
+ "103": "mockoranges",
116
+ "104": "asters",
117
+ "105": "geraniums",
118
+ "106": "mammillarias",
119
+ "107": "cucumbers",
120
+ "108": "veronicas",
121
+ "109": "turnips",
122
+ "110": "peppers",
123
+ "111": "hardyhibiscuses",
124
+ "112": "morning-glories",
125
+ "113": "gardenias",
126
+ "114": "ribes",
127
+ "115": "loniceras",
128
+ "116": "eggplants",
129
+ "117": "hostas",
130
+ "118": "chlorophytums",
131
+ "119": "chives",
132
+ "120": "tomatoes",
133
+ "121": "lilacs",
134
+ "122": "leeks",
135
+ "123": "shastadaisies",
136
+ "124": "apricots",
137
+ "125": "apples",
138
+ "126": "strawberries",
139
+ "127": "salvias",
140
+ "128": "sedums",
141
+ "129": "corn",
142
+ "130": "daylilies",
143
+ "131": "figs",
144
+ "132": "dahlias",
145
+ "133": "sweetpotatoes"
146
+ },
147
+ "image_size": 224,
148
+ "initializer_range": 0.02,
149
+ "intermediate_size": 3072,
150
+ "label2id": {
151
+ "aeoniums": 82,
152
+ "agaves": 99,
153
+ "aloes": 26,
154
+ "apples": 125,
155
+ "apricots": 124,
156
+ "arborvitaes": 36,
157
+ "artichokes": 53,
158
+ "asparagus": 68,
159
+ "asters": 104,
160
+ "astilbe": 40,
161
+ "babysbreath": 56,
162
+ "baptisia": 66,
163
+ "basil": 85,
164
+ "beans": 15,
165
+ "beautyberries": 41,
166
+ "beebalms": 42,
167
+ "beets": 14,
168
+ "bellflowers": 17,
169
+ "black-eyed-susans": 33,
170
+ "blanketflowers": 1,
171
+ "bleeding-hearts": 31,
172
+ "brassicas": 77,
173
+ "butterflybushes": 64,
174
+ "butterworts": 55,
175
+ "caladiums": 87,
176
+ "cannas": 76,
177
+ "cantaloupes": 21,
178
+ "carrots": 60,
179
+ "catmints": 39,
180
+ "celery": 9,
181
+ "cherries": 90,
182
+ "chives": 119,
183
+ "chlorophytums": 118,
184
+ "cilantro": 52,
185
+ "citrus": 30,
186
+ "columbines": 79,
187
+ "coneflowers": 13,
188
+ "coralbells": 2,
189
+ "corn": 129,
190
+ "crepe-myrtles": 61,
191
+ "crinums": 38,
192
+ "crocus": 96,
193
+ "cucumbers": 107,
194
+ "cucurbits": 57,
195
+ "daffodils": 4,
196
+ "dahlias": 132,
197
+ "daylilies": 130,
198
+ "deadnettles": 22,
199
+ "delphiniums": 18,
200
+ "dianthus": 24,
201
+ "dill": 10,
202
+ "dogwoods": 32,
203
+ "dudleyas": 101,
204
+ "echeverias": 80,
205
+ "eggplants": 116,
206
+ "figs": 131,
207
+ "foxgloves": 43,
208
+ "gardenias": 113,
209
+ "garlic": 6,
210
+ "geraniums": 105,
211
+ "gladiolus": 44,
212
+ "hardyhibiscuses": 111,
213
+ "heavenly-bamboos": 98,
214
+ "hibiscus": 71,
215
+ "hostas": 117,
216
+ "hyacinths": 92,
217
+ "hydrangeas": 74,
218
+ "ilex": 63,
219
+ "irises": 51,
220
+ "jujubes": 35,
221
+ "lambsears": 54,
222
+ "leeks": 122,
223
+ "lettuces": 48,
224
+ "liatris": 59,
225
+ "lilacs": 121,
226
+ "lilies": 37,
227
+ "loniceras": 115,
228
+ "mammillarias": 106,
229
+ "marjoram": 91,
230
+ "milkweed": 8,
231
+ "mints": 97,
232
+ "mockoranges": 103,
233
+ "morning-glories": 112,
234
+ "ninebarks": 47,
235
+ "okra": 81,
236
+ "oleanders": 19,
237
+ "onions": 16,
238
+ "oregano": 62,
239
+ "pachypodiums": 102,
240
+ "parsley": 27,
241
+ "parsnips": 70,
242
+ "peaches": 25,
243
+ "pears": 100,
244
+ "peas": 5,
245
+ "penstemon": 28,
246
+ "peonies": 12,
247
+ "peppers": 110,
248
+ "perovskia": 95,
249
+ "petunias": 34,
250
+ "phlox": 11,
251
+ "plumerias": 58,
252
+ "plums": 45,
253
+ "poppies": 49,
254
+ "potatoes": 73,
255
+ "radishes": 69,
256
+ "rhododendrons": 72,
257
+ "rhubarbs": 93,
258
+ "ribes": 114,
259
+ "roseofsharon": 20,
260
+ "roses": 84,
261
+ "rubus": 78,
262
+ "sage": 65,
263
+ "salvias": 127,
264
+ "sedums": 128,
265
+ "sempervivum": 67,
266
+ "shastadaisies": 123,
267
+ "smoketrees": 50,
268
+ "spinach": 88,
269
+ "spiraeas": 86,
270
+ "strawberries": 126,
271
+ "sunroots": 7,
272
+ "sweetpotatoes": 133,
273
+ "swisschard": 75,
274
+ "tarragon": 0,
275
+ "thyme": 29,
276
+ "tickseeds": 94,
277
+ "tomatoes": 120,
278
+ "tulips": 3,
279
+ "turnips": 109,
280
+ "veronicas": 108,
281
+ "viburnums": 23,
282
+ "vitis": 46,
283
+ "wisterias": 89,
284
+ "yarrows": 83
285
+ },
286
+ "layer_norm_eps": 1e-12,
287
+ "model_type": "vit",
288
+ "num_attention_heads": 12,
289
+ "num_channels": 3,
290
+ "num_hidden_layers": 12,
291
+ "patch_size": 16,
292
+ "problem_type": "single_label_classification",
293
+ "qkv_bias": true,
294
+ "torch_dtype": "float32",
295
+ "transformers_version": "4.40.2"
296
+ }
checkpoint-1551/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6bd69be6eeff07f2273ff4602775e86d1bfbd227652c2b90c052713cf4f71e6
3
+ size 343630016
checkpoint-1551/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:066976722831faa62253d1c4fa77e84347b72ae24d6a82e08c87811cd3325ef3
3
+ size 687380485
checkpoint-1551/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
checkpoint-1551/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25214e764cbe5d8535b8030a16f75d070348cfe000f72e10f913962e0d807674
3
+ size 14575
checkpoint-1551/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa5cdd212a5aeec8dd0588a90a74353692562c830aa960203e0b9dce724e5a8a
3
+ size 627
checkpoint-1551/trainer_state.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.79765784740448,
3
+ "best_model_checkpoint": "flower_groups_image_detection/checkpoint-1551",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1551,
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.3223726627981947,
13
+ "grad_norm": 2.987184762954712,
14
+ "learning_rate": 1.4003997335109924e-07,
15
+ "loss": 1.714,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.6447453255963894,
20
+ "grad_norm": 5.513508319854736,
21
+ "learning_rate": 7.341772151898734e-08,
22
+ "loss": 1.7232,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.9671179883945842,
27
+ "grad_norm": 4.085524082183838,
28
+ "learning_rate": 6.795469686875415e-09,
29
+ "loss": 1.7356,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.7784833091436865,
35
+ "eval_loss": 1.79765784740448,
36
+ "eval_runtime": 332.6377,
37
+ "eval_samples_per_second": 99.423,
38
+ "eval_steps_per_second": 12.428,
39
+ "step": 1551
40
+ }
41
+ ],
42
+ "logging_steps": 500,
43
+ "max_steps": 1551,
44
+ "num_input_tokens_seen": 0,
45
+ "num_train_epochs": 1,
46
+ "save_steps": 500,
47
+ "total_flos": 3.848615454250377e+18,
48
+ "train_batch_size": 32,
49
+ "trial_name": null,
50
+ "trial_params": null
51
+ }
checkpoint-1551/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:168a95cbee97c959d8d9e52525a0ee1ab5115557551e169a4176346c3d628ecb
3
+ size 4475
config.json CHANGED
@@ -292,5 +292,5 @@
292
  "problem_type": "single_label_classification",
293
  "qkv_bias": true,
294
  "torch_dtype": "float32",
295
- "transformers_version": "4.40.1"
296
  }
 
292
  "problem_type": "single_label_classification",
293
  "qkv_bias": true,
294
  "torch_dtype": "float32",
295
+ "transformers_version": "4.40.2"
296
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:630e407e9da8c626d7ef5d47df10104c93176c517f03ad3c918cce94cdc94563
3
  size 343630016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6bd69be6eeff07f2273ff4602775e86d1bfbd227652c2b90c052713cf4f71e6
3
  size 343630016
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f106eab66fa0e99b2d38ba79d0a1e0bf1534236322723db8910a70b373c5059f
3
  size 4475
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:168a95cbee97c959d8d9e52525a0ee1ab5115557551e169a4176346c3d628ecb
3
  size 4475