eligapris commited on
Commit
e734256
·
verified ·
1 Parent(s): 8d7b767

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: microsoft/resnet-50
7
+ widget:
8
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
9
+ example_title: Tiger
10
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
11
+ example_title: Teapot
12
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
13
+ example_title: Palace
14
+ ---
15
+
16
+ # Model Trained Using AutoTrain
17
+
18
+ - Problem type: Image Classification
19
+
20
+ ## Validation Metrics
21
+ loss: 0.5462027192115784
22
+
23
+ f1_macro: 0.38996247906197656
24
+
25
+ f1_micro: 0.737093690248566
26
+
27
+ f1_weighted: 0.6627689294144399
28
+
29
+ precision_macro: 0.3467645553924699
30
+
31
+ precision_micro: 0.737093690248566
32
+
33
+ precision_weighted: 0.6320379754980795
34
+
35
+ recall_macro: 0.49719101123595505
36
+
37
+ recall_micro: 0.737093690248566
38
+
39
+ recall_weighted: 0.737093690248566
40
+
41
+ accuracy: 0.737093690248566
checkpoint-1569/config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 4,
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": "Common_Rust",
25
+ "1": "Gray_Leaf_Spot",
26
+ "2": "Healthy_Leaf",
27
+ "3": "Northern_Leaf_Blight"
28
+ },
29
+ "label2id": {
30
+ "Common_Rust": 0,
31
+ "Gray_Leaf_Spot": 1,
32
+ "Healthy_Leaf": 2,
33
+ "Northern_Leaf_Blight": 3
34
+ },
35
+ "layer_type": "bottleneck",
36
+ "model_type": "resnet",
37
+ "num_channels": 3,
38
+ "out_features": [
39
+ "stage4"
40
+ ],
41
+ "out_indices": [
42
+ 4
43
+ ],
44
+ "problem_type": "single_label_classification",
45
+ "stage_names": [
46
+ "stem",
47
+ "stage1",
48
+ "stage2",
49
+ "stage3",
50
+ "stage4"
51
+ ],
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.45.0"
54
+ }
checkpoint-1569/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d66a60802e7b21ce9d80111cbd16de100bcca6bdbf196a2e1c355fd59d830ed3
3
+ size 94319344
checkpoint-1569/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4efee00efa4eedc027eca4e31a3a41bb54b63dc8690cf3379f2183dc2c0f9d19
3
+ size 188265274
checkpoint-1569/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddc2ba2f53d47f9e93f59b943a5c2285c82191f107608aa0970d651697f4fdce
3
+ size 14244
checkpoint-1569/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96786f5612337163ca02e63efad2722382b6d8db413e88b47b513a96f53da202
3
+ size 1064
checkpoint-1569/trainer_state.json ADDED
@@ -0,0 +1,530 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5462027192115784,
3
+ "best_model_checkpoint": "v-mdd-2000/checkpoint-1569",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1569,
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.04780114722753346,
13
+ "grad_norm": 5.217933654785156,
14
+ "learning_rate": 7.32484076433121e-06,
15
+ "loss": 1.416,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.09560229445506692,
20
+ "grad_norm": 4.016171455383301,
21
+ "learning_rate": 1.5286624203821656e-05,
22
+ "loss": 1.414,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.14340344168260039,
27
+ "grad_norm": 3.20475172996521,
28
+ "learning_rate": 2.3248407643312103e-05,
29
+ "loss": 1.3869,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.19120458891013384,
34
+ "grad_norm": 4.674644947052002,
35
+ "learning_rate": 3.121019108280255e-05,
36
+ "loss": 1.3436,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.2390057361376673,
41
+ "grad_norm": 5.427707195281982,
42
+ "learning_rate": 3.9171974522292996e-05,
43
+ "loss": 1.2932,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.28680688336520077,
48
+ "grad_norm": 4.383296012878418,
49
+ "learning_rate": 4.713375796178344e-05,
50
+ "loss": 1.2248,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 0.33460803059273425,
55
+ "grad_norm": 4.146059036254883,
56
+ "learning_rate": 4.946883852691218e-05,
57
+ "loss": 1.171,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 0.3824091778202677,
62
+ "grad_norm": 3.3426504135131836,
63
+ "learning_rate": 4.861898016997167e-05,
64
+ "loss": 1.1449,
65
+ "step": 200
66
+ },
67
+ {
68
+ "epoch": 0.43021032504780116,
69
+ "grad_norm": 3.714343547821045,
70
+ "learning_rate": 4.7733711048158645e-05,
71
+ "loss": 1.1191,
72
+ "step": 225
73
+ },
74
+ {
75
+ "epoch": 0.4780114722753346,
76
+ "grad_norm": 7.865729331970215,
77
+ "learning_rate": 4.684844192634561e-05,
78
+ "loss": 1.0567,
79
+ "step": 250
80
+ },
81
+ {
82
+ "epoch": 0.5258126195028681,
83
+ "grad_norm": 6.857259273529053,
84
+ "learning_rate": 4.596317280453258e-05,
85
+ "loss": 0.9662,
86
+ "step": 275
87
+ },
88
+ {
89
+ "epoch": 0.5736137667304015,
90
+ "grad_norm": 4.471379280090332,
91
+ "learning_rate": 4.5077903682719546e-05,
92
+ "loss": 0.958,
93
+ "step": 300
94
+ },
95
+ {
96
+ "epoch": 0.621414913957935,
97
+ "grad_norm": 4.704139709472656,
98
+ "learning_rate": 4.419263456090651e-05,
99
+ "loss": 0.8313,
100
+ "step": 325
101
+ },
102
+ {
103
+ "epoch": 0.6692160611854685,
104
+ "grad_norm": 7.114997863769531,
105
+ "learning_rate": 4.3307365439093486e-05,
106
+ "loss": 0.8271,
107
+ "step": 350
108
+ },
109
+ {
110
+ "epoch": 0.7170172084130019,
111
+ "grad_norm": 4.210059642791748,
112
+ "learning_rate": 4.242209631728046e-05,
113
+ "loss": 0.7769,
114
+ "step": 375
115
+ },
116
+ {
117
+ "epoch": 0.7648183556405354,
118
+ "grad_norm": 14.186487197875977,
119
+ "learning_rate": 4.153682719546743e-05,
120
+ "loss": 0.7753,
121
+ "step": 400
122
+ },
123
+ {
124
+ "epoch": 0.8126195028680688,
125
+ "grad_norm": 3.6650280952453613,
126
+ "learning_rate": 4.0651558073654394e-05,
127
+ "loss": 0.7924,
128
+ "step": 425
129
+ },
130
+ {
131
+ "epoch": 0.8604206500956023,
132
+ "grad_norm": 3.3368239402770996,
133
+ "learning_rate": 3.976628895184136e-05,
134
+ "loss": 0.6907,
135
+ "step": 450
136
+ },
137
+ {
138
+ "epoch": 0.9082217973231358,
139
+ "grad_norm": 10.250387191772461,
140
+ "learning_rate": 3.888101983002833e-05,
141
+ "loss": 0.7806,
142
+ "step": 475
143
+ },
144
+ {
145
+ "epoch": 0.9560229445506692,
146
+ "grad_norm": 2.3965954780578613,
147
+ "learning_rate": 3.79957507082153e-05,
148
+ "loss": 0.725,
149
+ "step": 500
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_accuracy": 0.638623326959847,
154
+ "eval_f1_macro": 0.3421771691948675,
155
+ "eval_f1_micro": 0.638623326959847,
156
+ "eval_f1_weighted": 0.556984680712233,
157
+ "eval_loss": 0.6578359007835388,
158
+ "eval_precision_macro": 0.361042634108909,
159
+ "eval_precision_micro": 0.638623326959847,
160
+ "eval_precision_weighted": 0.5177202792167341,
161
+ "eval_recall_macro": 0.3592548787699586,
162
+ "eval_recall_micro": 0.638623326959847,
163
+ "eval_recall_weighted": 0.638623326959847,
164
+ "eval_runtime": 44.4327,
165
+ "eval_samples_per_second": 23.541,
166
+ "eval_steps_per_second": 1.485,
167
+ "step": 523
168
+ },
169
+ {
170
+ "epoch": 1.0038240917782026,
171
+ "grad_norm": 10.821649551391602,
172
+ "learning_rate": 3.711048158640227e-05,
173
+ "loss": 0.8528,
174
+ "step": 525
175
+ },
176
+ {
177
+ "epoch": 1.0516252390057361,
178
+ "grad_norm": 2.037252426147461,
179
+ "learning_rate": 3.6225212464589236e-05,
180
+ "loss": 0.7696,
181
+ "step": 550
182
+ },
183
+ {
184
+ "epoch": 1.0994263862332696,
185
+ "grad_norm": 2.444324254989624,
186
+ "learning_rate": 3.53399433427762e-05,
187
+ "loss": 0.6783,
188
+ "step": 575
189
+ },
190
+ {
191
+ "epoch": 1.147227533460803,
192
+ "grad_norm": 5.074652194976807,
193
+ "learning_rate": 3.445467422096317e-05,
194
+ "loss": 0.6854,
195
+ "step": 600
196
+ },
197
+ {
198
+ "epoch": 1.1950286806883366,
199
+ "grad_norm": 0.9353910684585571,
200
+ "learning_rate": 3.3569405099150144e-05,
201
+ "loss": 0.6644,
202
+ "step": 625
203
+ },
204
+ {
205
+ "epoch": 1.24282982791587,
206
+ "grad_norm": 3.3189475536346436,
207
+ "learning_rate": 3.268413597733711e-05,
208
+ "loss": 0.7639,
209
+ "step": 650
210
+ },
211
+ {
212
+ "epoch": 1.2906309751434035,
213
+ "grad_norm": 6.11173677444458,
214
+ "learning_rate": 3.179886685552408e-05,
215
+ "loss": 0.7481,
216
+ "step": 675
217
+ },
218
+ {
219
+ "epoch": 1.338432122370937,
220
+ "grad_norm": 0.7253782153129578,
221
+ "learning_rate": 3.0913597733711045e-05,
222
+ "loss": 0.7963,
223
+ "step": 700
224
+ },
225
+ {
226
+ "epoch": 1.3862332695984705,
227
+ "grad_norm": 3.1936442852020264,
228
+ "learning_rate": 3.0028328611898022e-05,
229
+ "loss": 0.6578,
230
+ "step": 725
231
+ },
232
+ {
233
+ "epoch": 1.4340344168260037,
234
+ "grad_norm": 2.3999226093292236,
235
+ "learning_rate": 2.914305949008499e-05,
236
+ "loss": 0.6862,
237
+ "step": 750
238
+ },
239
+ {
240
+ "epoch": 1.4818355640535372,
241
+ "grad_norm": 4.911065101623535,
242
+ "learning_rate": 2.8257790368271957e-05,
243
+ "loss": 0.7557,
244
+ "step": 775
245
+ },
246
+ {
247
+ "epoch": 1.5296367112810707,
248
+ "grad_norm": 1.3211473226547241,
249
+ "learning_rate": 2.7372521246458927e-05,
250
+ "loss": 0.7849,
251
+ "step": 800
252
+ },
253
+ {
254
+ "epoch": 1.5774378585086042,
255
+ "grad_norm": 39.18047332763672,
256
+ "learning_rate": 2.6487252124645894e-05,
257
+ "loss": 0.793,
258
+ "step": 825
259
+ },
260
+ {
261
+ "epoch": 1.6252390057361377,
262
+ "grad_norm": 2.6913394927978516,
263
+ "learning_rate": 2.5601983002832864e-05,
264
+ "loss": 0.8325,
265
+ "step": 850
266
+ },
267
+ {
268
+ "epoch": 1.6730401529636711,
269
+ "grad_norm": 1.7141386270523071,
270
+ "learning_rate": 2.471671388101983e-05,
271
+ "loss": 0.6852,
272
+ "step": 875
273
+ },
274
+ {
275
+ "epoch": 1.7208413001912046,
276
+ "grad_norm": 3.214097023010254,
277
+ "learning_rate": 2.3831444759206802e-05,
278
+ "loss": 0.6031,
279
+ "step": 900
280
+ },
281
+ {
282
+ "epoch": 1.7686424474187379,
283
+ "grad_norm": 2.384178876876831,
284
+ "learning_rate": 2.294617563739377e-05,
285
+ "loss": 0.751,
286
+ "step": 925
287
+ },
288
+ {
289
+ "epoch": 1.8164435946462714,
290
+ "grad_norm": 1.9312065839767456,
291
+ "learning_rate": 2.2060906515580736e-05,
292
+ "loss": 0.6264,
293
+ "step": 950
294
+ },
295
+ {
296
+ "epoch": 1.8642447418738048,
297
+ "grad_norm": 3.0498812198638916,
298
+ "learning_rate": 2.1175637393767706e-05,
299
+ "loss": 0.6306,
300
+ "step": 975
301
+ },
302
+ {
303
+ "epoch": 1.9120458891013383,
304
+ "grad_norm": 2.893629789352417,
305
+ "learning_rate": 2.0290368271954673e-05,
306
+ "loss": 0.6217,
307
+ "step": 1000
308
+ },
309
+ {
310
+ "epoch": 1.9598470363288718,
311
+ "grad_norm": 0.9015472531318665,
312
+ "learning_rate": 1.9405099150141644e-05,
313
+ "loss": 0.6516,
314
+ "step": 1025
315
+ },
316
+ {
317
+ "epoch": 2.0,
318
+ "eval_accuracy": 0.7351816443594646,
319
+ "eval_f1_macro": 0.38906427435839197,
320
+ "eval_f1_micro": 0.7351816443594646,
321
+ "eval_f1_weighted": 0.6621530427064112,
322
+ "eval_loss": 0.5806663036346436,
323
+ "eval_precision_macro": 0.3467206394753023,
324
+ "eval_precision_micro": 0.7351816443594646,
325
+ "eval_precision_weighted": 0.6333302243156275,
326
+ "eval_recall_macro": 0.49635067510150127,
327
+ "eval_recall_micro": 0.7351816443594646,
328
+ "eval_recall_weighted": 0.7351816443594646,
329
+ "eval_runtime": 42.9415,
330
+ "eval_samples_per_second": 24.359,
331
+ "eval_steps_per_second": 1.537,
332
+ "step": 1046
333
+ },
334
+ {
335
+ "epoch": 2.0076481835564053,
336
+ "grad_norm": 2.6612207889556885,
337
+ "learning_rate": 1.8519830028328614e-05,
338
+ "loss": 0.5896,
339
+ "step": 1050
340
+ },
341
+ {
342
+ "epoch": 2.0554493307839388,
343
+ "grad_norm": 10.72891902923584,
344
+ "learning_rate": 1.763456090651558e-05,
345
+ "loss": 0.6984,
346
+ "step": 1075
347
+ },
348
+ {
349
+ "epoch": 2.1032504780114722,
350
+ "grad_norm": 1.5756287574768066,
351
+ "learning_rate": 1.6749291784702552e-05,
352
+ "loss": 0.6059,
353
+ "step": 1100
354
+ },
355
+ {
356
+ "epoch": 2.1510516252390057,
357
+ "grad_norm": 4.900139331817627,
358
+ "learning_rate": 1.586402266288952e-05,
359
+ "loss": 0.7358,
360
+ "step": 1125
361
+ },
362
+ {
363
+ "epoch": 2.198852772466539,
364
+ "grad_norm": 1.0064729452133179,
365
+ "learning_rate": 1.4978753541076487e-05,
366
+ "loss": 0.5746,
367
+ "step": 1150
368
+ },
369
+ {
370
+ "epoch": 2.2466539196940727,
371
+ "grad_norm": 1.1006754636764526,
372
+ "learning_rate": 1.4093484419263456e-05,
373
+ "loss": 0.6527,
374
+ "step": 1175
375
+ },
376
+ {
377
+ "epoch": 2.294455066921606,
378
+ "grad_norm": 1.1655389070510864,
379
+ "learning_rate": 1.3208215297450425e-05,
380
+ "loss": 0.6724,
381
+ "step": 1200
382
+ },
383
+ {
384
+ "epoch": 2.3422562141491396,
385
+ "grad_norm": 0.8685445189476013,
386
+ "learning_rate": 1.2322946175637394e-05,
387
+ "loss": 0.6372,
388
+ "step": 1225
389
+ },
390
+ {
391
+ "epoch": 2.390057361376673,
392
+ "grad_norm": 2.904857873916626,
393
+ "learning_rate": 1.1437677053824364e-05,
394
+ "loss": 0.5569,
395
+ "step": 1250
396
+ },
397
+ {
398
+ "epoch": 2.4378585086042066,
399
+ "grad_norm": 8.318224906921387,
400
+ "learning_rate": 1.0552407932011333e-05,
401
+ "loss": 0.6031,
402
+ "step": 1275
403
+ },
404
+ {
405
+ "epoch": 2.48565965583174,
406
+ "grad_norm": 1.145665168762207,
407
+ "learning_rate": 9.6671388101983e-06,
408
+ "loss": 0.6599,
409
+ "step": 1300
410
+ },
411
+ {
412
+ "epoch": 2.5334608030592736,
413
+ "grad_norm": 1.731411337852478,
414
+ "learning_rate": 8.781869688385269e-06,
415
+ "loss": 0.6132,
416
+ "step": 1325
417
+ },
418
+ {
419
+ "epoch": 2.581261950286807,
420
+ "grad_norm": 2.8205533027648926,
421
+ "learning_rate": 7.896600566572239e-06,
422
+ "loss": 0.7944,
423
+ "step": 1350
424
+ },
425
+ {
426
+ "epoch": 2.62906309751434,
427
+ "grad_norm": 5.20317268371582,
428
+ "learning_rate": 7.011331444759208e-06,
429
+ "loss": 0.5875,
430
+ "step": 1375
431
+ },
432
+ {
433
+ "epoch": 2.676864244741874,
434
+ "grad_norm": 1.0979515314102173,
435
+ "learning_rate": 6.126062322946176e-06,
436
+ "loss": 0.6133,
437
+ "step": 1400
438
+ },
439
+ {
440
+ "epoch": 2.724665391969407,
441
+ "grad_norm": 3.6786022186279297,
442
+ "learning_rate": 5.240793201133145e-06,
443
+ "loss": 0.7248,
444
+ "step": 1425
445
+ },
446
+ {
447
+ "epoch": 2.772466539196941,
448
+ "grad_norm": 3.5195906162261963,
449
+ "learning_rate": 4.355524079320113e-06,
450
+ "loss": 0.4984,
451
+ "step": 1450
452
+ },
453
+ {
454
+ "epoch": 2.820267686424474,
455
+ "grad_norm": 0.9004031419754028,
456
+ "learning_rate": 3.4702549575070827e-06,
457
+ "loss": 0.6418,
458
+ "step": 1475
459
+ },
460
+ {
461
+ "epoch": 2.8680688336520075,
462
+ "grad_norm": 1.9155558347702026,
463
+ "learning_rate": 2.584985835694051e-06,
464
+ "loss": 0.6644,
465
+ "step": 1500
466
+ },
467
+ {
468
+ "epoch": 2.915869980879541,
469
+ "grad_norm": 5.994888782501221,
470
+ "learning_rate": 1.6997167138810201e-06,
471
+ "loss": 0.626,
472
+ "step": 1525
473
+ },
474
+ {
475
+ "epoch": 2.9636711281070744,
476
+ "grad_norm": 1.0358558893203735,
477
+ "learning_rate": 8.144475920679887e-07,
478
+ "loss": 0.6762,
479
+ "step": 1550
480
+ },
481
+ {
482
+ "epoch": 3.0,
483
+ "eval_accuracy": 0.737093690248566,
484
+ "eval_f1_macro": 0.38996247906197656,
485
+ "eval_f1_micro": 0.737093690248566,
486
+ "eval_f1_weighted": 0.6627689294144399,
487
+ "eval_loss": 0.5462027192115784,
488
+ "eval_precision_macro": 0.3467645553924699,
489
+ "eval_precision_micro": 0.737093690248566,
490
+ "eval_precision_weighted": 0.6320379754980795,
491
+ "eval_recall_macro": 0.49719101123595505,
492
+ "eval_recall_micro": 0.737093690248566,
493
+ "eval_recall_weighted": 0.737093690248566,
494
+ "eval_runtime": 42.9771,
495
+ "eval_samples_per_second": 24.339,
496
+ "eval_steps_per_second": 1.536,
497
+ "step": 1569
498
+ }
499
+ ],
500
+ "logging_steps": 25,
501
+ "max_steps": 1569,
502
+ "num_input_tokens_seen": 0,
503
+ "num_train_epochs": 3,
504
+ "save_steps": 500,
505
+ "stateful_callbacks": {
506
+ "EarlyStoppingCallback": {
507
+ "args": {
508
+ "early_stopping_patience": 5,
509
+ "early_stopping_threshold": 0.01
510
+ },
511
+ "attributes": {
512
+ "early_stopping_patience_counter": 0
513
+ }
514
+ },
515
+ "TrainerControl": {
516
+ "args": {
517
+ "should_epoch_stop": false,
518
+ "should_evaluate": false,
519
+ "should_log": false,
520
+ "should_save": true,
521
+ "should_training_stop": true
522
+ },
523
+ "attributes": {}
524
+ }
525
+ },
526
+ "total_flos": 2.6640208912704307e+17,
527
+ "train_batch_size": 8,
528
+ "trial_name": null,
529
+ "trial_params": null
530
+ }
checkpoint-1569/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07abd77292a0625ce409de135d9d7b023daf6d9ab336b7a7be7a40652d6a16f7
3
+ size 5176
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 4,
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": "Common_Rust",
25
+ "1": "Gray_Leaf_Spot",
26
+ "2": "Healthy_Leaf",
27
+ "3": "Northern_Leaf_Blight"
28
+ },
29
+ "label2id": {
30
+ "Common_Rust": 0,
31
+ "Gray_Leaf_Spot": 1,
32
+ "Healthy_Leaf": 2,
33
+ "Northern_Leaf_Blight": 3
34
+ },
35
+ "layer_type": "bottleneck",
36
+ "model_type": "resnet",
37
+ "num_channels": 3,
38
+ "out_features": [
39
+ "stage4"
40
+ ],
41
+ "out_indices": [
42
+ 4
43
+ ],
44
+ "problem_type": "single_label_classification",
45
+ "stage_names": [
46
+ "stem",
47
+ "stage1",
48
+ "stage2",
49
+ "stage3",
50
+ "stage4"
51
+ ],
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.45.0"
54
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d66a60802e7b21ce9d80111cbd16de100bcca6bdbf196a2e1c355fd59d830ed3
3
+ size 94319344
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
+ }
runs/Oct18_05-51-10_07b4c6376f8e/events.out.tfevents.1729230672.07b4c6376f8e.12804.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cf3212827a9cc4ff50450b256eff5192e64632318ff359bf6a3c91649fe8c322
3
- size 17791
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f20ea10b9dcb5bc1206f5676e2e385e5729197b0d8d62355517e5a5a725b32c
3
+ size 21088
runs/Oct18_05-51-10_07b4c6376f8e/events.out.tfevents.1729231476.07b4c6376f8e.12804.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74eae1c74174a79888aad980150daec95f5cd626acba87b92cd094811666f443
3
+ size 921
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07abd77292a0625ce409de135d9d7b023daf6d9ab336b7a7be7a40652d6a16f7
3
+ size 5176
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "v-mdd-2000/autotrain-data",
3
+ "model": "microsoft/resnet-50",
4
+ "username": "eligapris",
5
+ "lr": 5e-05,
6
+ "epochs": 3,
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": "v-mdd-2000",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "image_column": "autotrain_image",
25
+ "target_column": "autotrain_label",
26
+ "log": "tensorboard",
27
+ "early_stopping_patience": 5,
28
+ "early_stopping_threshold": 0.01
29
+ }