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
|
@@ -31,9 +30,9 @@ 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.6154
|
38 |
|
39 |
## Model description
|
@@ -53,25 +52,23 @@ More information needed
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
-
- learning_rate: 0.
|
57 |
- train_batch_size: 16
|
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 | 13 | 0.
|
69 |
-
| No log | 2.0 | 26 | 0.
|
70 |
-
| No log | 3.0 | 39 | 0.
|
71 |
-
| No log | 4.0 | 52 | 0.
|
72 |
-
| No log | 5.0 | 65 | 0.
|
73 |
-
| No log | 6.0 | 78 | 0.4433 | 0.88 |
|
74 |
-
| No log | 7.0 | 91 | 0.4400 | 0.88 |
|
75 |
|
76 |
|
77 |
### 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
|
|
|
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.6187
|
36 |
- Accuracy: 0.6154
|
37 |
|
38 |
## Model description
|
|
|
52 |
### Training hyperparameters
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 0.0002
|
56 |
- train_batch_size: 16
|
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: 5
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 1.0 | 13 | 0.5587 | 0.68 |
|
68 |
+
| No log | 2.0 | 26 | 0.5209 | 0.8 |
|
69 |
+
| No log | 3.0 | 39 | 0.4983 | 0.84 |
|
70 |
+
| No log | 4.0 | 52 | 0.4822 | 0.8 |
|
71 |
+
| No log | 5.0 | 65 | 0.4770 | 0.8 |
|
|
|
|
|
72 |
|
73 |
|
74 |
### Framework versions
|
runs/Jun09_18-01-02_3461f2516c4a/events.out.tfevents.1717957052.3461f2516c4a.3087.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74f1eab7c6157b6ffd87074216a78a03216e664c9581373dd08a32f8afcf2f8c
|
3 |
+
size 405
|