ayubkfupm commited on
Commit
455c7d9
1 Parent(s): 8c88741

Model save

Browse files
README.md ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-tiny-patch4-window7-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swin-tiny-patch4-window7-224-finetuned-st-wsdmhar-stacked
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9679752066115702
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # swin-tiny-patch4-window7-224-finetuned-st-wsdmhar-stacked
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.1344
36
+ - Accuracy: 0.9680
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 32
57
+ - eval_batch_size: 32
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 128
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 100
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.4973 | 1.0 | 53 | 1.3214 | 0.3743 |
71
+ | 0.7898 | 2.0 | 106 | 0.7212 | 0.6753 |
72
+ | 0.5919 | 3.0 | 159 | 0.5983 | 0.7317 |
73
+ | 0.5388 | 4.0 | 212 | 0.4451 | 0.8209 |
74
+ | 0.475 | 5.0 | 265 | 0.3542 | 0.8674 |
75
+ | 0.4174 | 6.0 | 318 | 0.3148 | 0.8771 |
76
+ | 0.3487 | 7.0 | 371 | 0.3107 | 0.8802 |
77
+ | 0.3385 | 8.0 | 424 | 0.3179 | 0.8798 |
78
+ | 0.3324 | 9.0 | 477 | 0.2846 | 0.8998 |
79
+ | 0.3347 | 10.0 | 530 | 0.2837 | 0.8871 |
80
+ | 0.2952 | 11.0 | 583 | 0.2412 | 0.9139 |
81
+ | 0.282 | 12.0 | 636 | 0.3142 | 0.8767 |
82
+ | 0.2679 | 13.0 | 689 | 0.2496 | 0.9005 |
83
+ | 0.2816 | 14.0 | 742 | 0.2014 | 0.9239 |
84
+ | 0.2989 | 15.0 | 795 | 0.2049 | 0.9218 |
85
+ | 0.2634 | 16.0 | 848 | 0.2066 | 0.9232 |
86
+ | 0.2692 | 17.0 | 901 | 0.1994 | 0.9284 |
87
+ | 0.2069 | 18.0 | 954 | 0.1958 | 0.9304 |
88
+ | 0.2373 | 19.0 | 1007 | 0.2273 | 0.9249 |
89
+ | 0.1992 | 20.0 | 1060 | 0.2094 | 0.9267 |
90
+ | 0.1997 | 21.0 | 1113 | 0.1808 | 0.9387 |
91
+ | 0.1794 | 22.0 | 1166 | 0.1833 | 0.9408 |
92
+ | 0.1736 | 23.0 | 1219 | 0.2456 | 0.9091 |
93
+ | 0.2004 | 24.0 | 1272 | 0.1918 | 0.9294 |
94
+ | 0.2039 | 25.0 | 1325 | 0.1768 | 0.9370 |
95
+ | 0.1829 | 26.0 | 1378 | 0.2090 | 0.9225 |
96
+ | 0.1566 | 27.0 | 1431 | 0.1467 | 0.9456 |
97
+ | 0.1531 | 28.0 | 1484 | 0.1604 | 0.9404 |
98
+ | 0.1553 | 29.0 | 1537 | 0.1612 | 0.9449 |
99
+ | 0.1406 | 30.0 | 1590 | 0.1644 | 0.9494 |
100
+ | 0.1396 | 31.0 | 1643 | 0.1411 | 0.9501 |
101
+ | 0.1049 | 32.0 | 1696 | 0.1616 | 0.9539 |
102
+ | 0.1411 | 33.0 | 1749 | 0.1708 | 0.9446 |
103
+ | 0.1211 | 34.0 | 1802 | 0.1392 | 0.9501 |
104
+ | 0.1113 | 35.0 | 1855 | 0.1369 | 0.9525 |
105
+ | 0.1249 | 36.0 | 1908 | 0.1320 | 0.9535 |
106
+ | 0.1274 | 37.0 | 1961 | 0.1524 | 0.9518 |
107
+ | 0.1191 | 38.0 | 2014 | 0.1438 | 0.9525 |
108
+ | 0.0949 | 39.0 | 2067 | 0.1379 | 0.9573 |
109
+ | 0.0936 | 40.0 | 2120 | 0.1463 | 0.9518 |
110
+ | 0.1008 | 41.0 | 2173 | 0.1681 | 0.9494 |
111
+ | 0.0887 | 42.0 | 2226 | 0.1463 | 0.9566 |
112
+ | 0.1113 | 43.0 | 2279 | 0.1719 | 0.9456 |
113
+ | 0.1087 | 44.0 | 2332 | 0.1343 | 0.9604 |
114
+ | 0.097 | 45.0 | 2385 | 0.1431 | 0.9576 |
115
+ | 0.1061 | 46.0 | 2438 | 0.1495 | 0.9580 |
116
+ | 0.11 | 47.0 | 2491 | 0.1555 | 0.9549 |
117
+ | 0.0806 | 48.0 | 2544 | 0.1493 | 0.9549 |
118
+ | 0.0979 | 49.0 | 2597 | 0.2320 | 0.9373 |
119
+ | 0.0751 | 50.0 | 2650 | 0.1516 | 0.9573 |
120
+ | 0.0845 | 51.0 | 2703 | 0.1277 | 0.9614 |
121
+ | 0.079 | 52.0 | 2756 | 0.1373 | 0.9601 |
122
+ | 0.0818 | 53.0 | 2809 | 0.1569 | 0.9539 |
123
+ | 0.0845 | 54.0 | 2862 | 0.1422 | 0.9604 |
124
+ | 0.0796 | 55.0 | 2915 | 0.1400 | 0.9621 |
125
+ | 0.0975 | 56.0 | 2968 | 0.1375 | 0.9573 |
126
+ | 0.0607 | 57.0 | 3021 | 0.1504 | 0.9580 |
127
+ | 0.0632 | 58.0 | 3074 | 0.1364 | 0.9607 |
128
+ | 0.0542 | 59.0 | 3127 | 0.1278 | 0.9669 |
129
+ | 0.0807 | 60.0 | 3180 | 0.1507 | 0.9518 |
130
+ | 0.0673 | 61.0 | 3233 | 0.1302 | 0.9645 |
131
+ | 0.0773 | 62.0 | 3286 | 0.1388 | 0.9638 |
132
+ | 0.0739 | 63.0 | 3339 | 0.1533 | 0.9573 |
133
+ | 0.0718 | 64.0 | 3392 | 0.1325 | 0.9594 |
134
+ | 0.0719 | 65.0 | 3445 | 0.1304 | 0.9625 |
135
+ | 0.0487 | 66.0 | 3498 | 0.1250 | 0.9645 |
136
+ | 0.0718 | 67.0 | 3551 | 0.1512 | 0.9573 |
137
+ | 0.0851 | 68.0 | 3604 | 0.1299 | 0.9607 |
138
+ | 0.0658 | 69.0 | 3657 | 0.1424 | 0.9625 |
139
+ | 0.0605 | 70.0 | 3710 | 0.1391 | 0.9625 |
140
+ | 0.0732 | 71.0 | 3763 | 0.1320 | 0.9642 |
141
+ | 0.0613 | 72.0 | 3816 | 0.1461 | 0.9607 |
142
+ | 0.056 | 73.0 | 3869 | 0.1328 | 0.9635 |
143
+ | 0.0661 | 74.0 | 3922 | 0.1319 | 0.9628 |
144
+ | 0.0581 | 75.0 | 3975 | 0.1337 | 0.9666 |
145
+ | 0.0698 | 76.0 | 4028 | 0.1383 | 0.9645 |
146
+ | 0.0544 | 77.0 | 4081 | 0.1324 | 0.9656 |
147
+ | 0.059 | 78.0 | 4134 | 0.1380 | 0.9645 |
148
+ | 0.0554 | 79.0 | 4187 | 0.1435 | 0.9638 |
149
+ | 0.0497 | 80.0 | 4240 | 0.1310 | 0.9649 |
150
+ | 0.0463 | 81.0 | 4293 | 0.1384 | 0.9604 |
151
+ | 0.0622 | 82.0 | 4346 | 0.1363 | 0.9628 |
152
+ | 0.0534 | 83.0 | 4399 | 0.1428 | 0.9635 |
153
+ | 0.0434 | 84.0 | 4452 | 0.1374 | 0.9656 |
154
+ | 0.0591 | 85.0 | 4505 | 0.1332 | 0.9663 |
155
+ | 0.0488 | 86.0 | 4558 | 0.1271 | 0.9697 |
156
+ | 0.0418 | 87.0 | 4611 | 0.1286 | 0.9669 |
157
+ | 0.0505 | 88.0 | 4664 | 0.1372 | 0.9676 |
158
+ | 0.0486 | 89.0 | 4717 | 0.1372 | 0.9676 |
159
+ | 0.0561 | 90.0 | 4770 | 0.1348 | 0.9680 |
160
+ | 0.0498 | 91.0 | 4823 | 0.1340 | 0.9669 |
161
+ | 0.0432 | 92.0 | 4876 | 0.1351 | 0.9621 |
162
+ | 0.0322 | 93.0 | 4929 | 0.1380 | 0.9659 |
163
+ | 0.0389 | 94.0 | 4982 | 0.1370 | 0.9656 |
164
+ | 0.0408 | 95.0 | 5035 | 0.1343 | 0.9683 |
165
+ | 0.0367 | 96.0 | 5088 | 0.1347 | 0.9680 |
166
+ | 0.0337 | 97.0 | 5141 | 0.1366 | 0.9669 |
167
+ | 0.0338 | 98.0 | 5194 | 0.1355 | 0.9669 |
168
+ | 0.0284 | 99.0 | 5247 | 0.1340 | 0.9676 |
169
+ | 0.0501 | 100.0 | 5300 | 0.1344 | 0.9680 |
170
+
171
+
172
+ ### Framework versions
173
+
174
+ - Transformers 4.43.2
175
+ - Pytorch 2.3.1+cu118
176
+ - Datasets 2.20.0
177
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:063c39480c7d3696e7777c1f8361c239c0bd3592f46741002d1559057141a42b
3
  size 110355136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dee4a5907fa79cdf9b99018c2744eab5166dc46556c1acb6280eb35f579e8f6
3
  size 110355136
runs/Jul28_15-56-28_DESKTOP-BJ85B6S/events.out.tfevents.1722171401.DESKTOP-BJ85B6S.24980.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:848fc6ac9ec95b00221a4a91cf31b39275537395284c24a0037572b08cf9f591
3
- size 149275
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6d7048dcce2e996f9155a7e936019a1ffbf95dd0b21e5b38bfcfa6d5d3fa03e
3
+ size 149952