krzonkalla commited on
Commit
c212f46
·
verified ·
1 Parent(s): d8b9a68

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -3
README.md CHANGED
@@ -1,3 +1,41 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+ # Skin Cancer Image Classification Model
5
+
6
+ ## Introduction
7
+
8
+ Esse modelo classifica imagens de pele em várias categorias, com o objetivo de detectar lesões cancerígenas
9
+
10
+ ## Model Overview
11
+
12
+ - Arquitetura: Vision Transformer (ViT)
13
+ - Modelo Pré-treinado: Google's ViT 16x16 treinado no dataset ImageNet21k
14
+ - Classification Head Modificada: A classification head foi trocado para adaptar melhor o modelo à nova tarefa
15
+
16
+ ## Dataset
17
+
18
+ - Nome do Dataset: Skin Cancer Dataset
19
+ - Fonte: [Marmal88's Skin Cancer Dataset on Hugging Face](https://huggingface.co/datasets/marmal88/skin_cancer)
20
+ - Classes: Benign keratosis-like lesions, Basal cell carcinoma, Actinic keratoses, Vascular lesions, Melanocytic nevi, Melanoma, Dermatofibroma
21
+
22
+ ## Training
23
+
24
+ - Optimizer: Adam optimizer with a learning rate of 1e-4
25
+ - Loss Function: Cross-Entropy Loss
26
+ - Batch Size: 32
27
+ - Number of Epochs: 5
28
+
29
+ ## Evaluation Metrics
30
+
31
+ - Train Loss: Average loss over the training dataset
32
+ - Train Accuracy: Accuracy over the training dataset
33
+ - Validation Loss: Average loss over the validation dataset
34
+ - Validation Accuracy: Accuracy over the validation dataset
35
+
36
+ ## Results
37
+
38
+ - Train Loss: 0.1208
39
+ - Train Accuracy: 0.9614
40
+ - Val Loss: 0.1000
41
+ - Val Accuracy: 0.9695