Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: swinv2-tiny-patch4-window8-256-DMAE-5e-2
|
| 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.45652173913043476
|
| 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 |
+
# swinv2-tiny-patch4-window8-256-DMAE-5e-2
|
| 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: 1.2066
|
| 36 |
+
- Accuracy: 0.4565
|
| 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.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 |
+
| No log | 0.86 | 3 | 22.4107 | 0.3261 |
|
| 70 |
+
| No log | 2.0 | 7 | 11.2632 | 0.3261 |
|
| 71 |
+
| 15.4384 | 2.86 | 10 | 8.3393 | 0.4565 |
|
| 72 |
+
| 15.4384 | 4.0 | 14 | 2.2808 | 0.1087 |
|
| 73 |
+
| 15.4384 | 4.86 | 17 | 2.9784 | 0.3261 |
|
| 74 |
+
| 4.9288 | 6.0 | 21 | 2.4757 | 0.3261 |
|
| 75 |
+
| 4.9288 | 6.86 | 24 | 2.5934 | 0.1087 |
|
| 76 |
+
| 4.9288 | 8.0 | 28 | 2.3187 | 0.4565 |
|
| 77 |
+
| 2.426 | 8.86 | 31 | 1.7270 | 0.3261 |
|
| 78 |
+
| 2.426 | 10.0 | 35 | 1.4868 | 0.4565 |
|
| 79 |
+
| 2.426 | 10.86 | 38 | 1.3056 | 0.3261 |
|
| 80 |
+
| 1.5653 | 12.0 | 42 | 1.2237 | 0.4565 |
|
| 81 |
+
| 1.5653 | 12.86 | 45 | 1.4644 | 0.4565 |
|
| 82 |
+
| 1.5653 | 14.0 | 49 | 1.2427 | 0.4565 |
|
| 83 |
+
| 1.4578 | 14.86 | 52 | 1.2474 | 0.3261 |
|
| 84 |
+
| 1.4578 | 16.0 | 56 | 1.3441 | 0.4565 |
|
| 85 |
+
| 1.4578 | 16.86 | 59 | 1.3480 | 0.3261 |
|
| 86 |
+
| 1.3492 | 18.0 | 63 | 1.2835 | 0.4565 |
|
| 87 |
+
| 1.3492 | 18.86 | 66 | 1.3153 | 0.4565 |
|
| 88 |
+
| 1.3089 | 20.0 | 70 | 1.2387 | 0.4565 |
|
| 89 |
+
| 1.3089 | 20.86 | 73 | 1.2538 | 0.3261 |
|
| 90 |
+
| 1.3089 | 22.0 | 77 | 1.2386 | 0.4565 |
|
| 91 |
+
| 1.2345 | 22.86 | 80 | 1.2612 | 0.3261 |
|
| 92 |
+
| 1.2345 | 24.0 | 84 | 1.2125 | 0.4565 |
|
| 93 |
+
| 1.2345 | 24.86 | 87 | 1.2079 | 0.4565 |
|
| 94 |
+
| 1.2105 | 26.0 | 91 | 1.2139 | 0.4565 |
|
| 95 |
+
| 1.2105 | 26.86 | 94 | 1.2171 | 0.4565 |
|
| 96 |
+
| 1.2105 | 28.0 | 98 | 1.2183 | 0.4565 |
|
| 97 |
+
| 1.2095 | 28.86 | 101 | 1.2094 | 0.4565 |
|
| 98 |
+
| 1.2095 | 30.0 | 105 | 1.2061 | 0.4565 |
|
| 99 |
+
| 1.2095 | 30.86 | 108 | 1.2069 | 0.4565 |
|
| 100 |
+
| 1.203 | 32.0 | 112 | 1.2073 | 0.4565 |
|
| 101 |
+
| 1.203 | 32.86 | 115 | 1.2072 | 0.4565 |
|
| 102 |
+
| 1.203 | 34.0 | 119 | 1.2067 | 0.4565 |
|
| 103 |
+
| 1.1996 | 34.29 | 120 | 1.2066 | 0.4565 |
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
### Framework versions
|
| 107 |
+
|
| 108 |
+
- Transformers 4.36.2
|
| 109 |
+
- Pytorch 2.1.2+cu118
|
| 110 |
+
- Datasets 2.16.1
|
| 111 |
+
- 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 110356296
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32de481096cc7ab68bffac508bcddc2d4b0a3841c00c280df88a8ca040631198
|
| 3 |
size 110356296
|
runs/Dec02_15-35-36_DESKTOP-SKBE9FB/events.out.tfevents.1733175339.DESKTOP-SKBE9FB.18648.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:50500aeecbae380fd219b2063f1ee82627bf7ab3393b84a70ca4f39169a3ccc9
|
| 3 |
+
size 18094
|