purabp1249
commited on
Commit
•
c4572d7
1
Parent(s):
1e0590b
End of training
Browse files- README.md +3 -3
- all_results.json +12 -0
- eval_results.json +8 -0
- train_results.json +7 -0
- trainer_state.json +112 -0
README.md
CHANGED
@@ -22,7 +22,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.9868421052631579
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
|
33 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0703
|
36 |
+
- Accuracy: 0.9868
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.95,
|
3 |
+
"eval_accuracy": 0.9868421052631579,
|
4 |
+
"eval_loss": 0.07025326788425446,
|
5 |
+
"eval_runtime": 16.0481,
|
6 |
+
"eval_samples_per_second": 4.736,
|
7 |
+
"eval_steps_per_second": 0.623,
|
8 |
+
"train_loss": 0.41509221210366204,
|
9 |
+
"train_runtime": 1289.7394,
|
10 |
+
"train_samples_per_second": 2.1,
|
11 |
+
"train_steps_per_second": 0.065
|
12 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.95,
|
3 |
+
"eval_accuracy": 0.9868421052631579,
|
4 |
+
"eval_loss": 0.07025326788425446,
|
5 |
+
"eval_runtime": 16.0481,
|
6 |
+
"eval_samples_per_second": 4.736,
|
7 |
+
"eval_steps_per_second": 0.623
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.95,
|
3 |
+
"train_loss": 0.41509221210366204,
|
4 |
+
"train_runtime": 1289.7394,
|
5 |
+
"train_samples_per_second": 2.1,
|
6 |
+
"train_steps_per_second": 0.065
|
7 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9868421052631579,
|
3 |
+
"best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-herbify_plants\\checkpoint-63",
|
4 |
+
"epoch": 3.9529411764705884,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 84,
|
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.47,
|
13 |
+
"learning_rate": 4.933333333333334e-05,
|
14 |
+
"loss": 1.507,
|
15 |
+
"step": 10
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.94,
|
19 |
+
"learning_rate": 4.266666666666667e-05,
|
20 |
+
"loss": 0.7849,
|
21 |
+
"step": 20
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.99,
|
25 |
+
"eval_accuracy": 0.8552631578947368,
|
26 |
+
"eval_loss": 0.4281254708766937,
|
27 |
+
"eval_runtime": 16.1772,
|
28 |
+
"eval_samples_per_second": 4.698,
|
29 |
+
"eval_steps_per_second": 0.618,
|
30 |
+
"step": 21
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 1.41,
|
34 |
+
"learning_rate": 3.6e-05,
|
35 |
+
"loss": 0.3662,
|
36 |
+
"step": 30
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 1.88,
|
40 |
+
"learning_rate": 2.9333333333333336e-05,
|
41 |
+
"loss": 0.2498,
|
42 |
+
"step": 40
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 1.98,
|
46 |
+
"eval_accuracy": 0.9736842105263158,
|
47 |
+
"eval_loss": 0.1294979751110077,
|
48 |
+
"eval_runtime": 14.2688,
|
49 |
+
"eval_samples_per_second": 5.326,
|
50 |
+
"eval_steps_per_second": 0.701,
|
51 |
+
"step": 42
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 2.35,
|
55 |
+
"learning_rate": 2.2666666666666668e-05,
|
56 |
+
"loss": 0.181,
|
57 |
+
"step": 50
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 2.82,
|
61 |
+
"learning_rate": 1.6000000000000003e-05,
|
62 |
+
"loss": 0.1387,
|
63 |
+
"step": 60
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 2.96,
|
67 |
+
"eval_accuracy": 0.9868421052631579,
|
68 |
+
"eval_loss": 0.07025326788425446,
|
69 |
+
"eval_runtime": 14.5008,
|
70 |
+
"eval_samples_per_second": 5.241,
|
71 |
+
"eval_steps_per_second": 0.69,
|
72 |
+
"step": 63
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 3.29,
|
76 |
+
"learning_rate": 9.333333333333334e-06,
|
77 |
+
"loss": 0.1162,
|
78 |
+
"step": 70
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 3.76,
|
82 |
+
"learning_rate": 2.666666666666667e-06,
|
83 |
+
"loss": 0.1039,
|
84 |
+
"step": 80
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 3.95,
|
88 |
+
"eval_accuracy": 0.9736842105263158,
|
89 |
+
"eval_loss": 0.07408174127340317,
|
90 |
+
"eval_runtime": 14.5312,
|
91 |
+
"eval_samples_per_second": 5.23,
|
92 |
+
"eval_steps_per_second": 0.688,
|
93 |
+
"step": 84
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 3.95,
|
97 |
+
"step": 84,
|
98 |
+
"total_flos": 6.659477648048333e+16,
|
99 |
+
"train_loss": 0.41509221210366204,
|
100 |
+
"train_runtime": 1289.7394,
|
101 |
+
"train_samples_per_second": 2.1,
|
102 |
+
"train_steps_per_second": 0.065
|
103 |
+
}
|
104 |
+
],
|
105 |
+
"logging_steps": 10,
|
106 |
+
"max_steps": 84,
|
107 |
+
"num_train_epochs": 4,
|
108 |
+
"save_steps": 500,
|
109 |
+
"total_flos": 6.659477648048333e+16,
|
110 |
+
"trial_name": null,
|
111 |
+
"trial_params": null
|
112 |
+
}
|