Model save
Browse files
README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
5 |
-
- image-classification
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
- imagefolder
|
@@ -15,7 +14,7 @@ model-index:
|
|
15 |
name: Image Classification
|
16 |
type: image-classification
|
17 |
dataset:
|
18 |
-
name:
|
19 |
type: imagefolder
|
20 |
config: default
|
21 |
split: train
|
@@ -23,7 +22,7 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
-
value: 0.
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -31,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
31 |
|
32 |
# vit-base-oxford-brain-tumor
|
33 |
|
34 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 0.
|
37 |
-
- Accuracy: 0.
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -53,23 +52,25 @@ More information needed
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
-
- learning_rate: 0.
|
57 |
-
- train_batch_size:
|
58 |
- eval_batch_size: 8
|
59 |
- seed: 42
|
60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
- lr_scheduler_type: linear
|
62 |
-
- num_epochs:
|
63 |
|
64 |
### Training results
|
65 |
|
66 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
-
| No log | 1.0 |
|
69 |
-
| No log | 2.0 |
|
70 |
-
| No log | 3.0 |
|
71 |
-
| No log | 4.0 |
|
72 |
-
| No log | 5.0 |
|
|
|
|
|
73 |
|
74 |
|
75 |
### Framework versions
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
|
|
14 |
name: Image Classification
|
15 |
type: image-classification
|
16 |
dataset:
|
17 |
+
name: imagefolder
|
18 |
type: imagefolder
|
19 |
config: default
|
20 |
split: train
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.6923076923076923
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
30 |
|
31 |
# vit-base-oxford-brain-tumor
|
32 |
|
33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.5719
|
36 |
+
- Accuracy: 0.6923
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
52 |
### Training hyperparameters
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 0.0003
|
56 |
+
- train_batch_size: 20
|
57 |
- eval_batch_size: 8
|
58 |
- seed: 42
|
59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 7
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 1.0 | 11 | 0.5904 | 0.64 |
|
68 |
+
| No log | 2.0 | 22 | 0.5276 | 0.68 |
|
69 |
+
| No log | 3.0 | 33 | 0.4864 | 0.8 |
|
70 |
+
| No log | 4.0 | 44 | 0.4566 | 0.8 |
|
71 |
+
| No log | 5.0 | 55 | 0.4390 | 0.88 |
|
72 |
+
| No log | 6.0 | 66 | 0.4294 | 0.96 |
|
73 |
+
| No log | 7.0 | 77 | 0.4259 | 0.96 |
|
74 |
|
75 |
|
76 |
### Framework versions
|
runs/Jun09_18-37-06_3461f2516c4a/events.out.tfevents.1717959484.3461f2516c4a.3087.13
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7436f569da0424f408f150bf9886a9fb2c004a097a8f62210693a2a4c92db45f
|
3 |
+
size 405
|