DouglasBraga commited on
Commit
a27351a
1 Parent(s): fe47e86

Model save

Browse files
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-tiny-patch4-window7-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swin-tiny-patch4-window7-224-finetuned-eurosat-leukemia-1000
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.885
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
+ # swin-tiny-patch4-window7-224-finetuned-eurosat-leukemia-1000
32
+
33
+ This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.3423
36
+ - Accuracy: 0.885
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: 10
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
70
+ | 0.6899 | 0.9825 | 14 | 0.6198 | 0.6 |
71
+ | 0.5494 | 1.9649 | 28 | 0.4008 | 0.805 |
72
+ | 0.376 | 2.9474 | 42 | 0.4086 | 0.815 |
73
+ | 0.2852 | 4.0 | 57 | 0.4454 | 0.81 |
74
+ | 0.184 | 4.9825 | 71 | 0.8481 | 0.715 |
75
+ | 0.183 | 5.9649 | 85 | 0.1870 | 0.94 |
76
+ | 0.1465 | 6.9474 | 99 | 0.7121 | 0.8 |
77
+ | 0.1319 | 8.0 | 114 | 0.2078 | 0.945 |
78
+ | 0.1054 | 8.9825 | 128 | 0.3321 | 0.885 |
79
+ | 0.096 | 9.8246 | 140 | 0.3423 | 0.885 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.40.0
85
+ - Pytorch 2.2.1+cu121
86
+ - Datasets 2.19.0
87
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f556dc473c12dfd4a4be246e7734afff04c3f287164d1b6ac40186d1d291977
3
  size 110342832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96be4076206d3c284964fab4d4de20b2f9d7fb9c191d4f4256ab188098d31278
3
  size 110342832
runs/Apr23_10-10-14_42ece461816d/events.out.tfevents.1713867016.42ece461816d.20321.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d25d71c7fffae5011d80539d7ca9d0ab78ee13737926d4024f65ad416b8be700
3
- size 10538
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78f9bb667348656fe190ff5e6c2b5341817ad740bccbc33d44e94c64776b5884
3
+ size 11637