synergyai-jaeung
commited on
Commit
•
3633e3f
1
Parent(s):
82c0762
Model save
Browse files
README.md
CHANGED
@@ -5,9 +5,36 @@ tags:
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
|
|
|
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: vit-base-patch16-224-in21k_covid_19_ct_scans
|
10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -17,17 +44,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
-
|
21 |
-
-
|
22 |
-
-
|
23 |
-
-
|
24 |
-
-
|
25 |
-
-
|
26 |
-
- eval_runtime: 4.1611
|
27 |
-
- eval_samples_per_second: 51.189
|
28 |
-
- eval_steps_per_second: 3.365
|
29 |
-
- epoch: 20.0
|
30 |
-
- step: 1080
|
31 |
|
32 |
## Model description
|
33 |
|
@@ -52,7 +74,25 @@ The following hyperparameters were used during training:
|
|
52 |
- seed: 42
|
53 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
- lr_scheduler_type: linear
|
55 |
-
- num_epochs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
### Framework versions
|
58 |
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- f1
|
11 |
+
- recall
|
12 |
+
- precision
|
13 |
model-index:
|
14 |
- name: vit-base-patch16-224-in21k_covid_19_ct_scans
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Image Classification
|
18 |
+
type: image-classification
|
19 |
+
dataset:
|
20 |
+
name: imagefolder
|
21 |
+
type: imagefolder
|
22 |
+
config: default
|
23 |
+
split: train
|
24 |
+
args: default
|
25 |
+
metrics:
|
26 |
+
- name: Accuracy
|
27 |
+
type: accuracy
|
28 |
+
value: 0.9765258215962441
|
29 |
+
- name: F1
|
30 |
+
type: f1
|
31 |
+
value: 0.9294374875770225
|
32 |
+
- name: Recall
|
33 |
+
type: recall
|
34 |
+
value: 1.0
|
35 |
+
- name: Precision
|
36 |
+
type: precision
|
37 |
+
value: 0.9744897959183674
|
38 |
---
|
39 |
|
40 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
44 |
|
45 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
46 |
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.1064
|
48 |
+
- Accuracy: 0.9765
|
49 |
+
- F1: 0.9294
|
50 |
+
- Auc: 0.8864
|
51 |
+
- Recall: 1.0
|
52 |
+
- Precision: 0.9745
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
## Model description
|
55 |
|
|
|
74 |
- seed: 42
|
75 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
76 |
- lr_scheduler_type: linear
|
77 |
+
- num_epochs: 12
|
78 |
+
|
79 |
+
### Training results
|
80 |
+
|
81 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Auc | Recall | Precision |
|
82 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:------:|:---------:|
|
83 |
+
| 0.6804 | 1.0 | 54 | 0.3821 | 0.8967 | 0.4728 | 0.5 | 1.0 | 0.8967 |
|
84 |
+
| 0.6804 | 2.0 | 108 | 0.4134 | 0.8967 | 0.4728 | 0.5 | 1.0 | 0.8967 |
|
85 |
+
| 0.6804 | 3.0 | 162 | 0.2708 | 0.9061 | 0.5585 | 0.5455 | 1.0 | 0.9052 |
|
86 |
+
| 0.6804 | 4.0 | 216 | 0.2405 | 0.9437 | 0.7973 | 0.7273 | 1.0 | 0.9409 |
|
87 |
+
| 0.6804 | 5.0 | 270 | 0.2193 | 0.9437 | 0.7973 | 0.7273 | 1.0 | 0.9409 |
|
88 |
+
| 0.6804 | 6.0 | 324 | 0.1719 | 0.9484 | 0.8775 | 0.9310 | 0.9529 | 0.9891 |
|
89 |
+
| 0.6804 | 7.0 | 378 | 0.0525 | 0.9859 | 0.9612 | 0.9519 | 0.9948 | 0.9896 |
|
90 |
+
| 0.6804 | 8.0 | 432 | 0.0482 | 0.9906 | 0.9736 | 0.9545 | 1.0 | 0.9896 |
|
91 |
+
| 0.6804 | 9.0 | 486 | 0.0907 | 0.9765 | 0.9294 | 0.8864 | 1.0 | 0.9745 |
|
92 |
+
| 0.1258 | 10.0 | 540 | 0.1009 | 0.9765 | 0.9294 | 0.8864 | 1.0 | 0.9745 |
|
93 |
+
| 0.1258 | 11.0 | 594 | 0.1051 | 0.9765 | 0.9294 | 0.8864 | 1.0 | 0.9745 |
|
94 |
+
| 0.1258 | 12.0 | 648 | 0.1064 | 0.9765 | 0.9294 | 0.8864 | 1.0 | 0.9745 |
|
95 |
+
|
96 |
|
97 |
### Framework versions
|
98 |
|
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:07ad263c40de08805f0ed7a7346413962954d48906476b582b3387e7d1c08190
|
3 |
size 343223968
|
runs/May28_13-21-32_RTX3090/events.out.tfevents.1716870093.RTX3090.312878.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:d6acd01f5aa00d0bc57e4632b01c521a20a289e92831e9511cf7407c2c600763
|
3 |
+
size 11898
|