jerryteps commited on
Commit
3916d48
·
1 Parent(s): 4159191

Model save

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - imagefolder
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: swin-tiny-patch4-window7-224
10
+ results:
11
+ - task:
12
+ name: Image Classification
13
+ type: image-classification
14
+ dataset:
15
+ name: imagefolder
16
+ type: imagefolder
17
+ config: default
18
+ split: train
19
+ args: default
20
+ metrics:
21
+ - name: Accuracy
22
+ type: accuracy
23
+ value: 0.6845918083031485
24
+ ---
25
+
26
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
27
+ should probably proofread and complete it, then remove this comment. -->
28
+
29
+ # swin-tiny-patch4-window7-224
30
+
31
+ This model was trained from scratch on the imagefolder dataset.
32
+ It achieves the following results on the evaluation set:
33
+ - Loss: 0.8630
34
+ - Accuracy: 0.6846
35
+
36
+ ## Model description
37
+
38
+ More information needed
39
+
40
+ ## Intended uses & limitations
41
+
42
+ More information needed
43
+
44
+ ## Training and evaluation data
45
+
46
+ More information needed
47
+
48
+ ## Training procedure
49
+
50
+ ### Training hyperparameters
51
+
52
+ The following hyperparameters were used during training:
53
+ - learning_rate: 5e-05
54
+ - train_batch_size: 32
55
+ - eval_batch_size: 32
56
+ - seed: 42
57
+ - gradient_accumulation_steps: 4
58
+ - total_train_batch_size: 128
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_ratio: 0.1
62
+ - num_epochs: 10
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | 1.3586 | 1.0 | 252 | 1.2051 | 0.5403 |
69
+ | 1.2281 | 2.0 | 505 | 1.0535 | 0.6108 |
70
+ | 1.148 | 3.0 | 757 | 0.9985 | 0.6194 |
71
+ | 1.087 | 4.0 | 1010 | 0.9658 | 0.6361 |
72
+ | 1.1121 | 5.0 | 1262 | 0.9203 | 0.6539 |
73
+ | 1.0127 | 6.0 | 1515 | 0.9245 | 0.6567 |
74
+ | 0.9858 | 7.0 | 1767 | 0.8846 | 0.6757 |
75
+ | 0.9948 | 8.0 | 2020 | 0.8793 | 0.6748 |
76
+ | 0.9398 | 9.0 | 2272 | 0.8671 | 0.6765 |
77
+ | 0.9904 | 9.98 | 2520 | 0.8630 | 0.6846 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.35.0
83
+ - Pytorch 2.1.0+cu118
84
+ - Datasets 2.14.6
85
+ - Tokenizers 0.14.1