dwiedarioo
commited on
Commit
·
0e81a70
1
Parent(s):
0d82114
Training in progress epoch 0
Browse files- README.md +57 -0
- config.json +56 -0
- logs/train/events.out.tfevents.1700325744.0873ae1c84ac.2917.0.v2 +3 -0
- logs/train/events.out.tfevents.1700328348.0873ae1c84ac.2917.2.v2 +3 -0
- logs/validation/events.out.tfevents.1700326322.0873ae1c84ac.2917.1.v2 +3 -0
- logs/validation/events.out.tfevents.1700328917.0873ae1c84ac.2917.3.v2 +3 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: dwiedarioo/vit-base-patch16-224-in21k-datascience8
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
+
probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# dwiedarioo/vit-base-patch16-224-in21k-datascience8
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 2.2657
|
19 |
+
- Train Accuracy: 0.4219
|
20 |
+
- Train Top-3-accuracy: 0.6250
|
21 |
+
- Validation Loss: 1.9041
|
22 |
+
- Validation Accuracy: 0.5875
|
23 |
+
- Validation Top-3-accuracy: 0.8121
|
24 |
+
- Epoch: 0
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- optimizer: {'inner_optimizer': {'module': 'transformers.optimization_tf', 'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 8200, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.8999999761581421, 'beta_2': 0.9990000128746033, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}, 'registered_name': 'AdamWeightDecay'}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
|
44 |
+
- training_precision: mixed_float16
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Train Loss | Train Accuracy | Train Top-3-accuracy | Validation Loss | Validation Accuracy | Validation Top-3-accuracy | Epoch |
|
49 |
+
|:----------:|:--------------:|:--------------------:|:---------------:|:-------------------:|:-------------------------:|:-----:|
|
50 |
+
| 2.2657 | 0.4219 | 0.6250 | 1.9041 | 0.5875 | 0.8121 | 0 |
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- Transformers 4.35.2
|
56 |
+
- TensorFlow 2.14.0
|
57 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Schwannoma",
|
13 |
+
"1": "Carcinoma",
|
14 |
+
"10": "Neurocitoma",
|
15 |
+
"11": "Oligodendroglioma",
|
16 |
+
"12": "Meduloblastoma",
|
17 |
+
"13": "_NORMAL",
|
18 |
+
"14": "Ganglioglioma",
|
19 |
+
"2": "Ependimoma",
|
20 |
+
"3": "Granuloma",
|
21 |
+
"4": "Tuberculoma",
|
22 |
+
"5": "Meningioma",
|
23 |
+
"6": "Astrocitoma",
|
24 |
+
"7": "Glioblastoma",
|
25 |
+
"8": "Papiloma",
|
26 |
+
"9": "Germinoma"
|
27 |
+
},
|
28 |
+
"image_size": 224,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"Astrocitoma": "6",
|
33 |
+
"Carcinoma": "1",
|
34 |
+
"Ependimoma": "2",
|
35 |
+
"Ganglioglioma": "14",
|
36 |
+
"Germinoma": "9",
|
37 |
+
"Glioblastoma": "7",
|
38 |
+
"Granuloma": "3",
|
39 |
+
"Meduloblastoma": "12",
|
40 |
+
"Meningioma": "5",
|
41 |
+
"Neurocitoma": "10",
|
42 |
+
"Oligodendroglioma": "11",
|
43 |
+
"Papiloma": "8",
|
44 |
+
"Schwannoma": "0",
|
45 |
+
"Tuberculoma": "4",
|
46 |
+
"_NORMAL": "13"
|
47 |
+
},
|
48 |
+
"layer_norm_eps": 1e-12,
|
49 |
+
"model_type": "vit",
|
50 |
+
"num_attention_heads": 12,
|
51 |
+
"num_channels": 3,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"patch_size": 16,
|
54 |
+
"qkv_bias": true,
|
55 |
+
"transformers_version": "4.35.2"
|
56 |
+
}
|
logs/train/events.out.tfevents.1700325744.0873ae1c84ac.2917.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:722c788bbb676debaa5ce9846476b3037933f2fe6887d36c7a514c89fc421f1b
|
3 |
+
size 3641914
|
logs/train/events.out.tfevents.1700328348.0873ae1c84ac.2917.2.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ff266087d439da6f5922a563a62ea207223c9512533f57257dec9895bd41229
|
3 |
+
size 3388344
|
logs/validation/events.out.tfevents.1700326322.0873ae1c84ac.2917.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6758eef5a590270fe0f045ab4d60ac1f46145504b4b3879d70a7d345102ebb63
|
3 |
+
size 565
|
logs/validation/events.out.tfevents.1700328917.0873ae1c84ac.2917.3.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71f8af58123e008a858b62f34f7f094c4ee5a08148dcfe79b8646727e89f3668
|
3 |
+
size 565
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4963f52d4afd740bdd2a46258e0d2e7031c7e3da05d897d840a9f07c34d378b
|
3 |
+
size 343526072
|