gcperk20 commited on
Commit
b5f7125
1 Parent(s): 894ee0e

Model save

Browse files
Files changed (2) hide show
  1. README.md +97 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-small-patch4-window7-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swin-small-patch4-window7-224-finetuned-piid
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: val
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.776255707762557
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-small-patch4-window7-224-finetuned-piid
32
+
33
+ This model is a fine-tuned version of [microsoft/swin-small-patch4-window7-224](https://huggingface.co/microsoft/swin-small-patch4-window7-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.6257
36
+ - Accuracy: 0.7763
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: 8
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 32
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: 20
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.2497 | 0.98 | 20 | 1.1627 | 0.4703 |
71
+ | 0.7297 | 2.0 | 41 | 0.7559 | 0.6941 |
72
+ | 0.6428 | 2.98 | 61 | 0.8123 | 0.6575 |
73
+ | 0.5308 | 4.0 | 82 | 0.5771 | 0.7215 |
74
+ | 0.5384 | 4.98 | 102 | 0.6496 | 0.7169 |
75
+ | 0.4094 | 6.0 | 123 | 0.5802 | 0.7580 |
76
+ | 0.3204 | 6.98 | 143 | 0.6126 | 0.7489 |
77
+ | 0.3364 | 8.0 | 164 | 0.5391 | 0.7443 |
78
+ | 0.278 | 8.98 | 184 | 0.5726 | 0.7534 |
79
+ | 0.3469 | 10.0 | 205 | 0.5220 | 0.7900 |
80
+ | 0.2631 | 10.98 | 225 | 0.6373 | 0.7306 |
81
+ | 0.1854 | 12.0 | 246 | 0.5768 | 0.7808 |
82
+ | 0.2212 | 12.98 | 266 | 0.5399 | 0.7945 |
83
+ | 0.1918 | 14.0 | 287 | 0.5777 | 0.7900 |
84
+ | 0.2053 | 14.98 | 307 | 0.5609 | 0.7900 |
85
+ | 0.1409 | 16.0 | 328 | 0.5490 | 0.7900 |
86
+ | 0.1204 | 16.98 | 348 | 0.6096 | 0.7671 |
87
+ | 0.1467 | 18.0 | 369 | 0.6568 | 0.7626 |
88
+ | 0.125 | 18.98 | 389 | 0.6355 | 0.7717 |
89
+ | 0.114 | 19.51 | 400 | 0.6257 | 0.7763 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.35.0
95
+ - Pytorch 2.1.0+cu118
96
+ - Datasets 2.14.6
97
+ - Tokenizers 0.14.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0aef90658e3c3a35af158c2ae0a16013814183ccd8981c5c3e6c17f5b0beb388
3
  size 195878712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d929253c7b3a95d578cb749b92f3f55ff16a4d449b4bb5f1485c13fe18d7c51d
3
  size 195878712