Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: microsoft/swinv2-tiny-patch4-window8-256
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
datasets:
|
| 7 |
+
- imagefolder
|
| 8 |
+
metrics:
|
| 9 |
+
- accuracy
|
| 10 |
+
model-index:
|
| 11 |
+
- name: SW2-RHS-DA
|
| 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: validation
|
| 21 |
+
args: default
|
| 22 |
+
metrics:
|
| 23 |
+
- name: Accuracy
|
| 24 |
+
type: accuracy
|
| 25 |
+
value: 0.5887850467289719
|
| 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 |
+
# SW2-RHS-DA
|
| 32 |
+
|
| 33 |
+
This model is a fine-tuned version of [microsoft/swinv2-tiny-patch4-window8-256](https://huggingface.co/microsoft/swinv2-tiny-patch4-window8-256) on the imagefolder dataset.
|
| 34 |
+
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 3.0828
|
| 36 |
+
- Accuracy: 0.5888
|
| 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: 4e-05
|
| 56 |
+
- train_batch_size: 16
|
| 57 |
+
- eval_batch_size: 16
|
| 58 |
+
- seed: 42
|
| 59 |
+
- gradient_accumulation_steps: 4
|
| 60 |
+
- total_train_batch_size: 64
|
| 61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
+
- lr_scheduler_type: linear
|
| 63 |
+
- num_epochs: 40
|
| 64 |
+
|
| 65 |
+
### Training results
|
| 66 |
+
|
| 67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 69 |
+
| 1.302 | 0.98 | 22 | 2.8474 | 0.4112 |
|
| 70 |
+
| 0.6224 | 2.0 | 45 | 1.4650 | 0.4112 |
|
| 71 |
+
| 0.3905 | 2.98 | 67 | 1.4865 | 0.4112 |
|
| 72 |
+
| 0.1416 | 4.0 | 90 | 0.9453 | 0.5981 |
|
| 73 |
+
| 0.1116 | 4.98 | 112 | 0.9801 | 0.5514 |
|
| 74 |
+
| 0.0866 | 6.0 | 135 | 1.5201 | 0.6075 |
|
| 75 |
+
| 0.0579 | 6.98 | 157 | 1.7234 | 0.5981 |
|
| 76 |
+
| 0.0667 | 8.0 | 180 | 1.9649 | 0.5981 |
|
| 77 |
+
| 0.0664 | 8.98 | 202 | 1.9505 | 0.5981 |
|
| 78 |
+
| 0.0742 | 10.0 | 225 | 1.9448 | 0.5981 |
|
| 79 |
+
| 0.0558 | 10.98 | 247 | 1.9545 | 0.5981 |
|
| 80 |
+
| 0.0475 | 12.0 | 270 | 2.1516 | 0.5888 |
|
| 81 |
+
| 0.114 | 12.98 | 292 | 2.1002 | 0.6168 |
|
| 82 |
+
| 0.051 | 14.0 | 315 | 2.2643 | 0.5981 |
|
| 83 |
+
| 0.0318 | 14.98 | 337 | 2.3468 | 0.5981 |
|
| 84 |
+
| 0.0673 | 16.0 | 360 | 2.3341 | 0.6075 |
|
| 85 |
+
| 0.0566 | 16.98 | 382 | 2.3191 | 0.6075 |
|
| 86 |
+
| 0.0543 | 18.0 | 405 | 2.2807 | 0.6168 |
|
| 87 |
+
| 0.0458 | 18.98 | 427 | 2.2148 | 0.6168 |
|
| 88 |
+
| 0.0421 | 20.0 | 450 | 2.5468 | 0.5888 |
|
| 89 |
+
| 0.0139 | 20.98 | 472 | 2.2408 | 0.6168 |
|
| 90 |
+
| 0.012 | 22.0 | 495 | 2.5689 | 0.5888 |
|
| 91 |
+
| 0.017 | 22.98 | 517 | 2.5485 | 0.6168 |
|
| 92 |
+
| 0.0529 | 24.0 | 540 | 2.6746 | 0.6075 |
|
| 93 |
+
| 0.0414 | 24.98 | 562 | 2.7693 | 0.5888 |
|
| 94 |
+
| 0.0158 | 26.0 | 585 | 2.7447 | 0.5888 |
|
| 95 |
+
| 0.0205 | 26.98 | 607 | 2.8566 | 0.5888 |
|
| 96 |
+
| 0.0205 | 28.0 | 630 | 2.8469 | 0.5888 |
|
| 97 |
+
| 0.006 | 28.98 | 652 | 2.9508 | 0.5888 |
|
| 98 |
+
| 0.0061 | 30.0 | 675 | 3.0560 | 0.5888 |
|
| 99 |
+
| 0.0227 | 30.98 | 697 | 3.0431 | 0.5888 |
|
| 100 |
+
| 0.034 | 32.0 | 720 | 3.0497 | 0.5888 |
|
| 101 |
+
| 0.0039 | 32.98 | 742 | 3.0936 | 0.5888 |
|
| 102 |
+
| 0.0031 | 34.0 | 765 | 3.1158 | 0.5888 |
|
| 103 |
+
| 0.0118 | 34.98 | 787 | 3.1093 | 0.5888 |
|
| 104 |
+
| 0.0045 | 36.0 | 810 | 3.0885 | 0.5888 |
|
| 105 |
+
| 0.0168 | 36.98 | 832 | 3.0814 | 0.5888 |
|
| 106 |
+
| 0.0071 | 38.0 | 855 | 3.0733 | 0.5888 |
|
| 107 |
+
| 0.0238 | 38.98 | 877 | 3.0825 | 0.5888 |
|
| 108 |
+
| 0.0072 | 39.11 | 880 | 3.0828 | 0.5888 |
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
### Framework versions
|
| 112 |
+
|
| 113 |
+
- Transformers 4.36.2
|
| 114 |
+
- Pytorch 2.1.2+cu118
|
| 115 |
+
- Datasets 2.16.1
|
| 116 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 110350128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:859d46827cd32470f03580a44ce4ca5dc9f55125d918273500de3bdd8902789d
|
| 3 |
size 110350128
|
runs/Dec03_19-39-40_DESKTOP-SKBE9FB/events.out.tfevents.1733276381.DESKTOP-SKBE9FB.8824.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:561c95c90ed0891d6efaf74f611537965181418b7164764ef7c97eed1a1e2fcc
|
| 3 |
+
size 31650
|