dima806 commited on
Commit
7385203
1 Parent(s): 76a1c50

Upload folder using huggingface_hub

Browse files
checkpoint-7755/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.39.2"
296
+ }
checkpoint-7755/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc2a688764e16abe0407f400f896b424ed4e41d8e588e9f2e64cc9d9fed05820
3
+ size 343630016
checkpoint-7755/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cf6099f05a78854323b438da96da38f4594c8a7a230bdb51ed376f59c0c3914
3
+ size 687380485
checkpoint-7755/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-7755/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10edd4119f9f654f8289979ccb7353f89df29c022526cdf1e561cef527a6a372
3
+ size 14575
checkpoint-7755/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb28dfc3ad9e81d5b018629c6d5fd5a03c31fa811d9e6374390a3f2a71b1406d
3
+ size 627
checkpoint-7755/trainer_state.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.8800272941589355,
3
+ "best_model_checkpoint": "flower_groups_image_detection/checkpoint-7755",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 7755,
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.32,
13
+ "grad_norm": 5.792048454284668,
14
+ "learning_rate": 9.415963659961064e-07,
15
+ "loss": 2.0867,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.64,
20
+ "grad_norm": 3.73576283454895,
21
+ "learning_rate": 8.767034393251135e-07,
22
+ "loss": 2.0233,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.97,
27
+ "grad_norm": 3.3685128688812256,
28
+ "learning_rate": 8.118105126541207e-07,
29
+ "loss": 1.9642,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.7352745524915336,
35
+ "eval_loss": 2.0397422313690186,
36
+ "eval_runtime": 331.1652,
37
+ "eval_samples_per_second": 99.866,
38
+ "eval_steps_per_second": 12.483,
39
+ "step": 1551
40
+ },
41
+ {
42
+ "epoch": 1.29,
43
+ "grad_norm": 3.8721961975097656,
44
+ "learning_rate": 7.469175859831278e-07,
45
+ "loss": 1.9523,
46
+ "step": 2000
47
+ },
48
+ {
49
+ "epoch": 1.61,
50
+ "grad_norm": 5.311251163482666,
51
+ "learning_rate": 6.820246593121349e-07,
52
+ "loss": 1.939,
53
+ "step": 2500
54
+ },
55
+ {
56
+ "epoch": 1.93,
57
+ "grad_norm": 3.2061917781829834,
58
+ "learning_rate": 6.17131732641142e-07,
59
+ "loss": 1.8962,
60
+ "step": 3000
61
+ },
62
+ {
63
+ "epoch": 2.0,
64
+ "eval_accuracy": 0.7481555394291244,
65
+ "eval_loss": 1.9691122770309448,
66
+ "eval_runtime": 321.3062,
67
+ "eval_samples_per_second": 102.93,
68
+ "eval_steps_per_second": 12.866,
69
+ "step": 3102
70
+ },
71
+ {
72
+ "epoch": 2.26,
73
+ "grad_norm": 6.1755170822143555,
74
+ "learning_rate": 5.522388059701492e-07,
75
+ "loss": 1.8795,
76
+ "step": 3500
77
+ },
78
+ {
79
+ "epoch": 2.58,
80
+ "grad_norm": 7.479930877685547,
81
+ "learning_rate": 4.873458792991564e-07,
82
+ "loss": 1.8772,
83
+ "step": 4000
84
+ },
85
+ {
86
+ "epoch": 2.9,
87
+ "grad_norm": 3.788714647293091,
88
+ "learning_rate": 4.224529526281635e-07,
89
+ "loss": 1.8427,
90
+ "step": 4500
91
+ },
92
+ {
93
+ "epoch": 3.0,
94
+ "eval_accuracy": 0.7578313981615868,
95
+ "eval_loss": 1.9191893339157104,
96
+ "eval_runtime": 323.2055,
97
+ "eval_samples_per_second": 102.325,
98
+ "eval_steps_per_second": 12.791,
99
+ "step": 4653
100
+ },
101
+ {
102
+ "epoch": 3.22,
103
+ "grad_norm": 5.707278251647949,
104
+ "learning_rate": 3.5756002595717065e-07,
105
+ "loss": 1.8256,
106
+ "step": 5000
107
+ },
108
+ {
109
+ "epoch": 3.55,
110
+ "grad_norm": 3.444243907928467,
111
+ "learning_rate": 2.9266709928617776e-07,
112
+ "loss": 1.8318,
113
+ "step": 5500
114
+ },
115
+ {
116
+ "epoch": 3.87,
117
+ "grad_norm": 3.4218833446502686,
118
+ "learning_rate": 2.2777417261518494e-07,
119
+ "loss": 1.8064,
120
+ "step": 6000
121
+ },
122
+ {
123
+ "epoch": 4.0,
124
+ "eval_accuracy": 0.7642416545718432,
125
+ "eval_loss": 1.8897231817245483,
126
+ "eval_runtime": 325.0959,
127
+ "eval_samples_per_second": 101.73,
128
+ "eval_steps_per_second": 12.716,
129
+ "step": 6204
130
+ },
131
+ {
132
+ "epoch": 4.19,
133
+ "grad_norm": 3.0800297260284424,
134
+ "learning_rate": 1.6288124594419208e-07,
135
+ "loss": 1.8,
136
+ "step": 6500
137
+ },
138
+ {
139
+ "epoch": 4.51,
140
+ "grad_norm": 5.477210521697998,
141
+ "learning_rate": 9.798831927319921e-08,
142
+ "loss": 1.8135,
143
+ "step": 7000
144
+ },
145
+ {
146
+ "epoch": 4.84,
147
+ "grad_norm": 5.891938209533691,
148
+ "learning_rate": 3.309539260220636e-08,
149
+ "loss": 1.7991,
150
+ "step": 7500
151
+ },
152
+ {
153
+ "epoch": 5.0,
154
+ "eval_accuracy": 0.7664791969037252,
155
+ "eval_loss": 1.8800272941589355,
156
+ "eval_runtime": 319.8009,
157
+ "eval_samples_per_second": 103.414,
158
+ "eval_steps_per_second": 12.927,
159
+ "step": 7755
160
+ }
161
+ ],
162
+ "logging_steps": 500,
163
+ "max_steps": 7755,
164
+ "num_input_tokens_seen": 0,
165
+ "num_train_epochs": 5,
166
+ "save_steps": 500,
167
+ "total_flos": 1.9243077271251886e+19,
168
+ "train_batch_size": 32,
169
+ "trial_name": null,
170
+ "trial_params": null
171
+ }
checkpoint-7755/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d29ad5015cd951348a8ac267220202e9eaa0bb5c5fbf52aa37f6f55870cd4bfd
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
  ],
@@ -292,5 +292,5 @@
292
  "problem_type": "single_label_classification",
293
  "qkv_bias": true,
294
  "torch_dtype": "float32",
295
- "transformers_version": "4.33.3"
296
  }
 
1
  {
2
+ "_name_or_path": "dima806/flower_groups_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
292
  "problem_type": "single_label_classification",
293
  "qkv_bias": true,
294
  "torch_dtype": "float32",
295
+ "transformers_version": "4.39.2"
296
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc2a688764e16abe0407f400f896b424ed4e41d8e588e9f2e64cc9d9fed05820
3
+ size 343630016
preprocessor_config.json CHANGED
@@ -1,4 +1,18 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "do_normalize": true,
3
  "do_rescale": true,
4
  "do_resize": true,
 
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,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f273236d42c6b40ddc503d30a0867390239af5b6277516fbe7ba23d9dc8338df
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d29ad5015cd951348a8ac267220202e9eaa0bb5c5fbf52aa37f6f55870cd4bfd
3
+ size 4411