Commit
•
204f6cb
1
Parent(s):
b15098f
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/deit-small-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: deit-small-patch16-224-finetuned-eurosat
|
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: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.7977542108546475
|
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 |
+
# deit-small-patch16-224-finetuned-eurosat
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/deit-small-patch16-224](https://huggingface.co/facebook/deit-small-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.6817
|
36 |
+
- Accuracy: 0.7978
|
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: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 128
|
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: 15
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
70 |
+
| 1.5174 | 0.9966 | 218 | 1.3672 | 0.5855 |
|
71 |
+
| 1.282 | 1.9977 | 437 | 1.1843 | 0.6260 |
|
72 |
+
| 1.117 | 2.9989 | 656 | 1.0301 | 0.6845 |
|
73 |
+
| 1.0176 | 4.0 | 875 | 0.9670 | 0.7070 |
|
74 |
+
| 0.9912 | 4.9966 | 1093 | 0.8551 | 0.7477 |
|
75 |
+
| 0.9458 | 5.9977 | 1312 | 0.8534 | 0.7392 |
|
76 |
+
| 0.8502 | 6.9989 | 1531 | 0.8049 | 0.7600 |
|
77 |
+
| 0.8954 | 8.0 | 1750 | 0.7716 | 0.7683 |
|
78 |
+
| 0.872 | 8.9966 | 1968 | 0.7443 | 0.7779 |
|
79 |
+
| 0.8186 | 9.9977 | 2187 | 0.7304 | 0.7835 |
|
80 |
+
| 0.747 | 10.9989 | 2406 | 0.7178 | 0.7911 |
|
81 |
+
| 0.6843 | 12.0 | 2625 | 0.7062 | 0.7925 |
|
82 |
+
| 0.7453 | 12.9966 | 2843 | 0.7031 | 0.7939 |
|
83 |
+
| 0.7472 | 13.9977 | 3062 | 0.6891 | 0.7965 |
|
84 |
+
| 0.7067 | 14.9486 | 3270 | 0.6817 | 0.7978 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.41.2
|
90 |
+
- Pytorch 2.3.1+cu121
|
91 |
+
- Datasets 2.19.1
|
92 |
+
- Tokenizers 0.19.1
|