End of training
Browse files- README.md +95 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swin-large-patch4-window7-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: Boya1_SGD_1e3_20Epoch_Swin-large-224_fold2
|
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: test
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.38054054054054054
|
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 |
+
# Boya1_SGD_1e3_20Epoch_Swin-large-224_fold2
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [microsoft/swin-large-patch4-window7-224](https://huggingface.co/microsoft/swin-large-patch4-window7-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.0270
|
36 |
+
- Accuracy: 0.3805
|
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: 0.001
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
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: 20
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
68 |
+
| 2.4749 | 1.0 | 923 | 2.5397 | 0.1935 |
|
69 |
+
| 2.4343 | 2.0 | 1846 | 2.4492 | 0.1943 |
|
70 |
+
| 2.4893 | 3.0 | 2769 | 2.3908 | 0.1997 |
|
71 |
+
| 2.355 | 4.0 | 3692 | 2.3485 | 0.2208 |
|
72 |
+
| 2.2183 | 5.0 | 4615 | 2.3215 | 0.2484 |
|
73 |
+
| 2.2553 | 6.0 | 5538 | 2.2854 | 0.2741 |
|
74 |
+
| 2.2168 | 7.0 | 6461 | 2.2456 | 0.2970 |
|
75 |
+
| 2.2632 | 8.0 | 7384 | 2.2147 | 0.3143 |
|
76 |
+
| 2.1811 | 9.0 | 8307 | 2.1785 | 0.33 |
|
77 |
+
| 2.1273 | 10.0 | 9230 | 2.1568 | 0.3373 |
|
78 |
+
| 2.055 | 11.0 | 10153 | 2.1247 | 0.3449 |
|
79 |
+
| 2.0484 | 12.0 | 11076 | 2.1086 | 0.3549 |
|
80 |
+
| 2.0352 | 13.0 | 11999 | 2.0861 | 0.3638 |
|
81 |
+
| 2.0495 | 14.0 | 12922 | 2.0733 | 0.3646 |
|
82 |
+
| 2.094 | 15.0 | 13845 | 2.0546 | 0.3705 |
|
83 |
+
| 2.0506 | 16.0 | 14768 | 2.0465 | 0.3759 |
|
84 |
+
| 1.9902 | 17.0 | 15691 | 2.0401 | 0.3773 |
|
85 |
+
| 1.9714 | 18.0 | 16614 | 2.0324 | 0.3792 |
|
86 |
+
| 1.967 | 19.0 | 17537 | 2.0279 | 0.3808 |
|
87 |
+
| 2.1255 | 20.0 | 18460 | 2.0270 | 0.3805 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.32.1
|
93 |
+
- Pytorch 2.1.1+cu121
|
94 |
+
- Datasets 2.21.0
|
95 |
+
- Tokenizers 0.13.2
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 780711054
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b07b308df8ed633fdd9b578f2deb5d237b82b19f8932b00c502d4e362fe4b4c
|
3 |
size 780711054
|