Yogesh1p commited on
Commit
6c2027b
1 Parent(s): 3186175

End of training

Browse files
README.md CHANGED
@@ -22,7 +22,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.6607142857142857
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.6978
36
- - Accuracy: 0.6607
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.8035714285714286
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.6641
36
+ - Accuracy: 0.8036
37
 
38
  ## Model description
39
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 9.0,
3
- "eval_accuracy": 0.8392857142857143,
4
- "eval_loss": 0.7021211385726929,
5
- "eval_runtime": 17.3875,
6
- "eval_samples_per_second": 3.221,
7
- "eval_steps_per_second": 0.115,
8
  "total_flos": 1.111839453941207e+17,
9
- "train_loss": 0.5756972630818685,
10
- "train_runtime": 3795.7142,
11
- "train_samples_per_second": 1.178,
12
- "train_steps_per_second": 0.009
13
  }
 
1
  {
2
  "epoch": 9.0,
3
+ "eval_accuracy": 0.8035714285714286,
4
+ "eval_loss": 0.664064884185791,
5
+ "eval_runtime": 12.3586,
6
+ "eval_samples_per_second": 4.531,
7
+ "eval_steps_per_second": 0.162,
8
  "total_flos": 1.111839453941207e+17,
9
+ "train_loss": 0.6180701586935256,
10
+ "train_runtime": 3294.7862,
11
+ "train_samples_per_second": 1.358,
12
+ "train_steps_per_second": 0.011
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 9.0,
3
- "eval_accuracy": 0.8392857142857143,
4
- "eval_loss": 0.7021211385726929,
5
- "eval_runtime": 17.3875,
6
- "eval_samples_per_second": 3.221,
7
- "eval_steps_per_second": 0.115
8
  }
 
1
  {
2
  "epoch": 9.0,
3
+ "eval_accuracy": 0.8035714285714286,
4
+ "eval_loss": 0.664064884185791,
5
+ "eval_runtime": 12.3586,
6
+ "eval_samples_per_second": 4.531,
7
+ "eval_steps_per_second": 0.162
8
  }
runs/Nov20_14-59-03_a6bc77c9179a/events.out.tfevents.1700495739.a6bc77c9179a.1727.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:999472239cdf9b9ae1716d9a2ac617d18e343924c7bb0a6a4587f36b5590ffdb
3
+ size 405
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 9.0,
3
  "total_flos": 1.111839453941207e+17,
4
- "train_loss": 0.5756972630818685,
5
- "train_runtime": 3795.7142,
6
- "train_samples_per_second": 1.178,
7
- "train_steps_per_second": 0.009
8
  }
 
1
  {
2
  "epoch": 9.0,
3
  "total_flos": 1.111839453941207e+17,
4
+ "train_loss": 0.6180701586935256,
5
+ "train_runtime": 3294.7862,
6
+ "train_samples_per_second": 1.358,
7
+ "train_steps_per_second": 0.011
8
  }
trainer_state.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "best_metric": 0.8392857142857143,
3
- "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-cp3/checkpoint-8",
4
  "epoch": 9.0,
5
  "eval_steps": 500,
6
  "global_step": 36,
@@ -10,111 +10,111 @@
10
  "log_history": [
11
  {
12
  "epoch": 1.0,
13
- "eval_accuracy": 0.7857142857142857,
14
- "eval_loss": 0.7631352543830872,
15
- "eval_runtime": 14.2688,
16
- "eval_samples_per_second": 3.925,
17
- "eval_steps_per_second": 0.14,
18
  "step": 4
19
  },
20
  {
21
  "epoch": 2.0,
22
- "eval_accuracy": 0.8392857142857143,
23
- "eval_loss": 0.7021211385726929,
24
- "eval_runtime": 14.0865,
25
- "eval_samples_per_second": 3.975,
26
- "eval_steps_per_second": 0.142,
27
  "step": 8
28
  },
29
  {
30
  "epoch": 2.5,
31
  "learning_rate": 4.0625000000000005e-05,
32
- "loss": 0.7627,
33
  "step": 10
34
  },
35
  {
36
  "epoch": 3.0,
37
- "eval_accuracy": 0.6607142857142857,
38
- "eval_loss": 0.7832352519035339,
39
- "eval_runtime": 13.8113,
40
- "eval_samples_per_second": 4.055,
41
- "eval_steps_per_second": 0.145,
42
  "step": 12
43
  },
44
  {
45
  "epoch": 4.0,
46
- "eval_accuracy": 0.6964285714285714,
47
- "eval_loss": 0.743320882320404,
48
- "eval_runtime": 14.9571,
49
- "eval_samples_per_second": 3.744,
50
- "eval_steps_per_second": 0.134,
51
  "step": 16
52
  },
53
  {
54
  "epoch": 5.0,
55
  "learning_rate": 2.5e-05,
56
- "loss": 0.5484,
57
  "step": 20
58
  },
59
  {
60
  "epoch": 5.0,
61
  "eval_accuracy": 0.7678571428571429,
62
- "eval_loss": 0.6839150190353394,
63
- "eval_runtime": 15.0822,
64
- "eval_samples_per_second": 3.713,
65
- "eval_steps_per_second": 0.133,
66
  "step": 20
67
  },
68
  {
69
  "epoch": 6.0,
70
  "eval_accuracy": 0.8035714285714286,
71
- "eval_loss": 0.6131719946861267,
72
- "eval_runtime": 15.0119,
73
- "eval_samples_per_second": 3.73,
74
- "eval_steps_per_second": 0.133,
75
  "step": 24
76
  },
77
  {
78
  "epoch": 7.0,
79
- "eval_accuracy": 0.7142857142857143,
80
- "eval_loss": 0.7031440734863281,
81
- "eval_runtime": 14.0294,
82
- "eval_samples_per_second": 3.992,
83
- "eval_steps_per_second": 0.143,
84
  "step": 28
85
  },
86
  {
87
  "epoch": 7.5,
88
  "learning_rate": 9.375000000000001e-06,
89
- "loss": 0.4853,
90
  "step": 30
91
  },
92
  {
93
  "epoch": 8.0,
94
- "eval_accuracy": 0.5714285714285714,
95
- "eval_loss": 0.8530569076538086,
96
- "eval_runtime": 14.1278,
97
- "eval_samples_per_second": 3.964,
98
- "eval_steps_per_second": 0.142,
99
  "step": 32
100
  },
101
  {
102
  "epoch": 9.0,
103
- "eval_accuracy": 0.5714285714285714,
104
- "eval_loss": 0.8332322835922241,
105
- "eval_runtime": 14.901,
106
- "eval_samples_per_second": 3.758,
107
- "eval_steps_per_second": 0.134,
108
  "step": 36
109
  },
110
  {
111
  "epoch": 9.0,
112
  "step": 36,
113
  "total_flos": 1.111839453941207e+17,
114
- "train_loss": 0.5756972630818685,
115
- "train_runtime": 3795.7142,
116
- "train_samples_per_second": 1.178,
117
- "train_steps_per_second": 0.009
118
  }
119
  ],
120
  "logging_steps": 10,
 
1
  {
2
+ "best_metric": 0.8035714285714286,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-cp3/checkpoint-16",
4
  "epoch": 9.0,
5
  "eval_steps": 500,
6
  "global_step": 36,
 
10
  "log_history": [
11
  {
12
  "epoch": 1.0,
13
+ "eval_accuracy": 0.6964285714285714,
14
+ "eval_loss": 0.8433873057365417,
15
+ "eval_runtime": 12.521,
16
+ "eval_samples_per_second": 4.472,
17
+ "eval_steps_per_second": 0.16,
18
  "step": 4
19
  },
20
  {
21
  "epoch": 2.0,
22
+ "eval_accuracy": 0.7321428571428571,
23
+ "eval_loss": 0.7171021103858948,
24
+ "eval_runtime": 12.39,
25
+ "eval_samples_per_second": 4.52,
26
+ "eval_steps_per_second": 0.161,
27
  "step": 8
28
  },
29
  {
30
  "epoch": 2.5,
31
  "learning_rate": 4.0625000000000005e-05,
32
+ "loss": 0.797,
33
  "step": 10
34
  },
35
  {
36
  "epoch": 3.0,
37
+ "eval_accuracy": 0.7321428571428571,
38
+ "eval_loss": 0.6664790511131287,
39
+ "eval_runtime": 12.5474,
40
+ "eval_samples_per_second": 4.463,
41
+ "eval_steps_per_second": 0.159,
42
  "step": 12
43
  },
44
  {
45
  "epoch": 4.0,
46
+ "eval_accuracy": 0.8035714285714286,
47
+ "eval_loss": 0.664064884185791,
48
+ "eval_runtime": 12.6853,
49
+ "eval_samples_per_second": 4.415,
50
+ "eval_steps_per_second": 0.158,
51
  "step": 16
52
  },
53
  {
54
  "epoch": 5.0,
55
  "learning_rate": 2.5e-05,
56
+ "loss": 0.5977,
57
  "step": 20
58
  },
59
  {
60
  "epoch": 5.0,
61
  "eval_accuracy": 0.7678571428571429,
62
+ "eval_loss": 0.6915168166160583,
63
+ "eval_runtime": 12.6038,
64
+ "eval_samples_per_second": 4.443,
65
+ "eval_steps_per_second": 0.159,
66
  "step": 20
67
  },
68
  {
69
  "epoch": 6.0,
70
  "eval_accuracy": 0.8035714285714286,
71
+ "eval_loss": 0.6244821548461914,
72
+ "eval_runtime": 12.8475,
73
+ "eval_samples_per_second": 4.359,
74
+ "eval_steps_per_second": 0.156,
75
  "step": 24
76
  },
77
  {
78
  "epoch": 7.0,
79
+ "eval_accuracy": 0.7678571428571429,
80
+ "eval_loss": 0.6159235239028931,
81
+ "eval_runtime": 12.5518,
82
+ "eval_samples_per_second": 4.462,
83
+ "eval_steps_per_second": 0.159,
84
  "step": 28
85
  },
86
  {
87
  "epoch": 7.5,
88
  "learning_rate": 9.375000000000001e-06,
89
+ "loss": 0.5246,
90
  "step": 30
91
  },
92
  {
93
  "epoch": 8.0,
94
+ "eval_accuracy": 0.7321428571428571,
95
+ "eval_loss": 0.6760005950927734,
96
+ "eval_runtime": 12.5229,
97
+ "eval_samples_per_second": 4.472,
98
+ "eval_steps_per_second": 0.16,
99
  "step": 32
100
  },
101
  {
102
  "epoch": 9.0,
103
+ "eval_accuracy": 0.6607142857142857,
104
+ "eval_loss": 0.6978439092636108,
105
+ "eval_runtime": 12.5018,
106
+ "eval_samples_per_second": 4.479,
107
+ "eval_steps_per_second": 0.16,
108
  "step": 36
109
  },
110
  {
111
  "epoch": 9.0,
112
  "step": 36,
113
  "total_flos": 1.111839453941207e+17,
114
+ "train_loss": 0.6180701586935256,
115
+ "train_runtime": 3294.7862,
116
+ "train_samples_per_second": 1.358,
117
+ "train_steps_per_second": 0.011
118
  }
119
  ],
120
  "logging_steps": 10,