SodaXII commited on
Commit
ba11535
·
verified ·
1 Parent(s): d99bc16

Model save

Browse files
README.md CHANGED
@@ -4,8 +4,6 @@ license: apache-2.0
4
  base_model: microsoft/resnet-50
5
  tags:
6
  - generated_from_trainer
7
- metrics:
8
- - accuracy
9
  model-index:
10
  - name: resnet-50_rice-leaf-disease-augmented-v2_fft
11
  results: []
@@ -17,9 +15,6 @@ should probably proofread and complete it, then remove this comment. -->
17
  # resnet-50_rice-leaf-disease-augmented-v2_fft
18
 
19
  This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on an unknown dataset.
20
- It achieves the following results on the evaluation set:
21
- - Loss: 0.8547
22
- - Accuracy: 0.7202
23
 
24
  ## Model description
25
 
@@ -46,27 +41,7 @@ The following hyperparameters were used during training:
46
  - lr_scheduler_type: cosine_with_restarts
47
  - lr_scheduler_warmup_ratio: 0.1
48
  - num_epochs: 15
49
-
50
- ### Training results
51
-
52
- | Training Loss | Epoch | Step | Accuracy | Validation Loss |
53
- |:-------------:|:-----:|:----:|:--------:|:---------------:|
54
- | 2.0458 | 1.0 | 125 | 0.4077 | 1.9620 |
55
- | 1.8522 | 2.0 | 250 | 0.5298 | 1.7118 |
56
- | 1.6181 | 3.0 | 375 | 0.5476 | 1.5115 |
57
- | 1.4376 | 4.0 | 500 | 0.6042 | 1.3707 |
58
- | 1.3093 | 5.0 | 625 | 0.6220 | 1.2792 |
59
- | 1.2299 | 6.0 | 750 | 0.6369 | 1.2290 |
60
- | 1.1881 | 7.0 | 875 | 0.6399 | 1.2191 |
61
- | 1.1751 | 8.0 | 1000 | 0.6488 | 1.2102 |
62
- | 1.1347 | 9.0 | 1125 | 0.6429 | 1.1266 |
63
- | 1.0039 | 10.0 | 1250 | 0.6726 | 1.0349 |
64
- | 0.907 | 11.0 | 1375 | 0.6935 | 0.9689 |
65
- | 0.8387 | 12.0 | 1500 | 0.6905 | 0.9262 |
66
- | 0.791 | 13.0 | 1625 | 0.8775 | 0.7143 |
67
- | 0.7244 | 14.0 | 1750 | 0.8533 | 0.7113 |
68
- | 0.691 | 15.0 | 1875 | 0.8547 | 0.7202 |
69
-
70
 
71
  ### Framework versions
72
 
 
4
  base_model: microsoft/resnet-50
5
  tags:
6
  - generated_from_trainer
 
 
7
  model-index:
8
  - name: resnet-50_rice-leaf-disease-augmented-v2_fft
9
  results: []
 
15
  # resnet-50_rice-leaf-disease-augmented-v2_fft
16
 
17
  This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on an unknown dataset.
 
 
 
18
 
19
  ## Model description
20
 
 
41
  - lr_scheduler_type: cosine_with_restarts
42
  - lr_scheduler_warmup_ratio: 0.1
43
  - num_epochs: 15
44
+ - mixed_precision_training: Native AMP
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
  ### Framework versions
47
 
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "total_flos": 2.54958083702784e+18,
4
+ "train_loss": 0.14709369303385417,
5
+ "train_runtime": 1218.7812,
6
+ "train_samples_per_second": 98.459,
7
+ "train_steps_per_second": 1.538
8
+ }
config.json CHANGED
@@ -48,7 +48,6 @@
48
  "out_indices": [
49
  4
50
  ],
51
- "problem_type": "single_label_classification",
52
  "stage_names": [
53
  "stem",
54
  "stage1",
 
48
  "out_indices": [
49
  4
50
  ],
 
51
  "stage_names": [
52
  "stem",
53
  "stage1",
logs/events.out.tfevents.1740284504.a837d8c25e39.930.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a20ef5f0d171bad8bc022f1b0428bfdec03b60be83da7ba58a80cf79fa5d52f
3
+ size 88
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69221b0c6c05d76fa272da6f15c5ecd58d3b844b2c522853fd2c1e7e4fd078fd
3
  size 94352152
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:839860602f3a191ee8ba132b71280186bb2246bff269f4c6b563f35969aaee8f
3
  size 94352152
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "total_flos": 2.54958083702784e+18,
4
+ "train_loss": 0.14709369303385417,
5
+ "train_runtime": 1218.7812,
6
+ "train_samples_per_second": 98.459,
7
+ "train_steps_per_second": 1.538
8
+ }
trainer_state.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "best_metric": 0.9262328147888184,
3
- "best_model_checkpoint": "./drive/Shareddrives/CS198-Drones/training_output/resnet-50_rice-leaf-disease-augmented-v2_fft/checkpoint-1500",
4
- "epoch": 12.0,
5
  "eval_steps": 500,
6
- "global_step": 1500,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
@@ -199,6 +199,63 @@
199
  "eval_samples_per_second": 25.277,
200
  "eval_steps_per_second": 0.451,
201
  "step": 1500
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  }
203
  ],
204
  "logging_steps": 500,
@@ -213,12 +270,12 @@
213
  "should_evaluate": false,
214
  "should_log": false,
215
  "should_save": true,
216
- "should_training_stop": false
217
  },
218
  "attributes": {}
219
  }
220
  },
221
- "total_flos": 2.039664669622272e+18,
222
  "train_batch_size": 64,
223
  "trial_name": null,
224
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.8533294200897217,
3
+ "best_model_checkpoint": "./drive/Shareddrives/CS198-Drones/training_output/resnet-50_rice-leaf-disease-augmented-v2_fft/checkpoint-1750",
4
+ "epoch": 15.0,
5
  "eval_steps": 500,
6
+ "global_step": 1875,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
 
199
  "eval_samples_per_second": 25.277,
200
  "eval_steps_per_second": 0.451,
201
  "step": 1500
202
+ },
203
+ {
204
+ "epoch": 13.0,
205
+ "grad_norm": 3.1170542240142822,
206
+ "learning_rate": 8.42870045002354e-06,
207
+ "loss": 0.791,
208
+ "step": 1625
209
+ },
210
+ {
211
+ "epoch": 13.0,
212
+ "eval_accuracy": 0.7142857142857143,
213
+ "eval_loss": 0.8774951696395874,
214
+ "eval_runtime": 13.2469,
215
+ "eval_samples_per_second": 25.364,
216
+ "eval_steps_per_second": 0.453,
217
+ "step": 1625
218
+ },
219
+ {
220
+ "epoch": 14.0,
221
+ "grad_norm": 4.423528671264648,
222
+ "learning_rate": 3.018018951921804e-06,
223
+ "loss": 0.7244,
224
+ "step": 1750
225
+ },
226
+ {
227
+ "epoch": 14.0,
228
+ "eval_accuracy": 0.7113095238095238,
229
+ "eval_loss": 0.8533294200897217,
230
+ "eval_runtime": 13.4659,
231
+ "eval_samples_per_second": 24.952,
232
+ "eval_steps_per_second": 0.446,
233
+ "step": 1750
234
+ },
235
+ {
236
+ "epoch": 15.0,
237
+ "grad_norm": 4.605622291564941,
238
+ "learning_rate": 0.0,
239
+ "loss": 0.691,
240
+ "step": 1875
241
+ },
242
+ {
243
+ "epoch": 15.0,
244
+ "eval_accuracy": 0.7202380952380952,
245
+ "eval_loss": 0.8547136187553406,
246
+ "eval_runtime": 15.5224,
247
+ "eval_samples_per_second": 21.646,
248
+ "eval_steps_per_second": 0.387,
249
+ "step": 1875
250
+ },
251
+ {
252
+ "epoch": 15.0,
253
+ "step": 1875,
254
+ "total_flos": 2.54958083702784e+18,
255
+ "train_loss": 0.14709369303385417,
256
+ "train_runtime": 1218.7812,
257
+ "train_samples_per_second": 98.459,
258
+ "train_steps_per_second": 1.538
259
  }
260
  ],
261
  "logging_steps": 500,
 
270
  "should_evaluate": false,
271
  "should_log": false,
272
  "should_save": true,
273
+ "should_training_stop": true
274
  },
275
  "attributes": {}
276
  }
277
  },
278
+ "total_flos": 2.54958083702784e+18,
279
  "train_batch_size": 64,
280
  "trial_name": null,
281
  "trial_params": null
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5fe8da1dd89984c4c60084967fbb9185dfabe13f9424a6020a088883d7e857b4
3
- size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e30e870845cfba6b60d75025a4d11acfd12cbaa6fe9d0eccf8216ae6f2b622f5
3
+ size 5496