Model save
Browse files
README.md
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/vit-mae-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: vit-mae-base-effusion-classifier
|
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.8173673328738801
|
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 |
+
# vit-mae-base-effusion-classifier
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/vit-mae-base](https://huggingface.co/facebook/vit-mae-base) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.4179
|
36 |
+
- Accuracy: 0.8174
|
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-06
|
56 |
+
- train_batch_size: 4
|
57 |
+
- eval_batch_size: 4
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 16
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_ratio: 0.2
|
64 |
+
- num_epochs: 20
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 0.6554 | 1.0 | 362 | 0.6692 | 0.6030 |
|
71 |
+
| 0.569 | 2.0 | 725 | 0.5891 | 0.7023 |
|
72 |
+
| 0.6098 | 3.0 | 1088 | 0.5421 | 0.7367 |
|
73 |
+
| 0.4984 | 4.0 | 1451 | 0.5668 | 0.7043 |
|
74 |
+
| 0.4884 | 5.0 | 1813 | 0.6061 | 0.6844 |
|
75 |
+
| 0.4351 | 6.0 | 2176 | 0.4481 | 0.8098 |
|
76 |
+
| 0.4794 | 7.0 | 2539 | 0.4384 | 0.8084 |
|
77 |
+
| 0.4636 | 8.0 | 2902 | 0.4343 | 0.8077 |
|
78 |
+
| 0.4816 | 9.0 | 3264 | 0.5363 | 0.7491 |
|
79 |
+
| 0.5016 | 10.0 | 3627 | 0.4993 | 0.7677 |
|
80 |
+
| 0.4826 | 11.0 | 3990 | 0.4483 | 0.8043 |
|
81 |
+
| 0.4707 | 12.0 | 4353 | 0.4249 | 0.8112 |
|
82 |
+
| 0.4483 | 13.0 | 4715 | 0.4193 | 0.8160 |
|
83 |
+
| 0.419 | 14.0 | 5078 | 0.4146 | 0.8215 |
|
84 |
+
| 0.5039 | 15.0 | 5441 | 0.4188 | 0.8181 |
|
85 |
+
| 0.4111 | 16.0 | 5804 | 0.4459 | 0.8112 |
|
86 |
+
| 0.3293 | 17.0 | 6166 | 0.4228 | 0.8181 |
|
87 |
+
| 0.4171 | 18.0 | 6529 | 0.4239 | 0.8215 |
|
88 |
+
| 0.3375 | 19.0 | 6892 | 0.4162 | 0.8215 |
|
89 |
+
| 0.32 | 19.96 | 7240 | 0.4179 | 0.8174 |
|
90 |
+
|
91 |
+
|
92 |
+
### Framework versions
|
93 |
+
|
94 |
+
- Transformers 4.39.0.dev0
|
95 |
+
- Pytorch 2.2.1+cu121
|
96 |
+
- Datasets 2.18.0
|
97 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343223968
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:348a5477d2e28ac56d37cc3034d35b6cca7e67b9d1607d3b7fa4ddb6f467be8b
|
3 |
size 343223968
|
runs/Apr02_20-20-53_ip-172-16-71-114.us-west-2.compute.internal/events.out.tfevents.1712089256.ip-172-16-71-114.us-west-2.compute.internal.4306.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:cf38c136fc62c4f1315b3524b8cb96567f563f9604210dc6bd78ebfe35389278
|
3 |
+
size 164438
|