Training in progress epoch 0
Browse files
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_keras_callback
|
| 5 |
+
model-index:
|
| 6 |
+
- name: Ahmed007/Dr.Smart_v2
|
| 7 |
+
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
| 11 |
+
probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# Ahmed007/Dr.Smart_v2
|
| 14 |
+
|
| 15 |
+
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.
|
| 16 |
+
It achieves the following results on the evaluation set:
|
| 17 |
+
- Train Loss: 1.5647
|
| 18 |
+
- Train Accuracy: 0.5528
|
| 19 |
+
- Train Top-3-accuracy: 0.8140
|
| 20 |
+
- Validation Loss: 1.2034
|
| 21 |
+
- Validation Accuracy: 0.6545
|
| 22 |
+
- Validation Top-3-accuracy: 0.8955
|
| 23 |
+
- Epoch: 0
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 2198, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
|
| 43 |
+
- training_precision: mixed_float16
|
| 44 |
+
|
| 45 |
+
### Training results
|
| 46 |
+
|
| 47 |
+
| Train Loss | Train Accuracy | Train Top-3-accuracy | Validation Loss | Validation Accuracy | Validation Top-3-accuracy | Epoch |
|
| 48 |
+
|:----------:|:--------------:|:--------------------:|:---------------:|:-------------------:|:-------------------------:|:-----:|
|
| 49 |
+
| 1.5647 | 0.5528 | 0.8140 | 1.2034 | 0.6545 | 0.8955 | 0 |
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
### Framework versions
|
| 53 |
+
|
| 54 |
+
- Transformers 4.31.0.dev0
|
| 55 |
+
- TensorFlow 2.12.0
|
| 56 |
+
- Datasets 2.1.0
|
| 57 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "Actinic Keratosis Basal Cell Carcinoma and other Malignant Lesions",
|
| 13 |
+
"1": "non_human",
|
| 14 |
+
"10": "Melanoma Skin Cancer Nevi and Moles",
|
| 15 |
+
"2": "Atopic Dermatitis Photos",
|
| 16 |
+
"3": "Nail Fungus and other Nail Disease",
|
| 17 |
+
"4": "Eczema Photos",
|
| 18 |
+
"5": "Urticaria Hives",
|
| 19 |
+
"6": "Warts Molluscum and other Viral Infections",
|
| 20 |
+
"7": "Herpes HPV and other STDs Photos",
|
| 21 |
+
"8": "Acne and Rosacea Photos",
|
| 22 |
+
"9": "Seborrheic Keratoses and other Benign Tumors"
|
| 23 |
+
},
|
| 24 |
+
"image_size": 224,
|
| 25 |
+
"initializer_range": 0.02,
|
| 26 |
+
"intermediate_size": 3072,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"Acne and Rosacea Photos": "8",
|
| 29 |
+
"Actinic Keratosis Basal Cell Carcinoma and other Malignant Lesions": "0",
|
| 30 |
+
"Atopic Dermatitis Photos": "2",
|
| 31 |
+
"Eczema Photos": "4",
|
| 32 |
+
"Herpes HPV and other STDs Photos": "7",
|
| 33 |
+
"Melanoma Skin Cancer Nevi and Moles": "10",
|
| 34 |
+
"Nail Fungus and other Nail Disease": "3",
|
| 35 |
+
"Seborrheic Keratoses and other Benign Tumors": "9",
|
| 36 |
+
"Urticaria Hives": "5",
|
| 37 |
+
"Warts Molluscum and other Viral Infections": "6",
|
| 38 |
+
"non_human": "1"
|
| 39 |
+
},
|
| 40 |
+
"layer_norm_eps": 1e-12,
|
| 41 |
+
"model_type": "vit",
|
| 42 |
+
"num_attention_heads": 12,
|
| 43 |
+
"num_channels": 3,
|
| 44 |
+
"num_hidden_layers": 12,
|
| 45 |
+
"patch_size": 16,
|
| 46 |
+
"qkv_bias": true,
|
| 47 |
+
"transformers_version": "4.31.0.dev0"
|
| 48 |
+
}
|
logs/train/events.out.tfevents.1688006257.17a329dc7327.136.0.v2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1406e56c9ec4eb4dd06552f8b47c5e2b348c8222eab058ddd8f58d75ee00376
|
| 3 |
+
size 2240242
|
logs/validation/events.out.tfevents.1688006780.17a329dc7327.136.1.v2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1bdcdb308bb47fb9de7d128a8e862a5d0dc6b7d8780581a560ee61d4fd6b9a87
|
| 3 |
+
size 568
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aafca9cff5936f91d1d16af8f8a7d0514a2c7d8e498c8da7364cf11ccd9231ad
|
| 3 |
+
size 343513784
|