File size: 1,914 Bytes
68f1aae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
license: apache-2.0
base_model: google/vit-base-patch16-224-in21k
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: Melanoma-Cancer-Image-Classification
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# Melanoma-Cancer-Image-Classification

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.
It achieves the following results on the evaluation set:
- Loss: 0.1954
- Accuracy: 0.9395


### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.5451        | 0.99  | 68   | 0.2960          | 0.8936   |
| 0.2488        | 1.99  | 137  | 0.2254          | 0.9105   |
| 0.1986        | 3.0   | 206  | 0.1913          | 0.9282   |
| 0.1714        | 4.0   | 275  | 0.1906          | 0.9264   |
| 0.1576        | 4.99  | 343  | 0.1825          | 0.9323   |
| 0.1359        | 5.99  | 412  | 0.1973          | 0.9318   |
| 0.1193        | 7.0   | 481  | 0.1756          | 0.9368   |
| 0.1062        | 8.0   | 550  | 0.1743          | 0.9382   |
| 0.0983        | 8.99  | 618  | 0.1885          | 0.9395   |
| 0.0797        | 9.99  | 687  | 0.1931          | 0.9309   |
| 0.0698        | 11.0  | 756  | 0.1895          | 0.9359   |
| 0.0657        | 12.0  | 825  | 0.1861          | 0.9368   |
| 0.0587        | 12.99 | 893  | 0.1837          | 0.9414   |
| 0.056         | 13.99 | 962  | 0.1936          | 0.9377   |
| 0.0592        | 15.0  | 1031 | 0.1958          | 0.935    |
| 0.0508        | 15.83 | 1088 | 0.1954          | 0.9395   |


### Framework versions

- Transformers 4.38.2
- Pytorch 2.1.2
- Datasets 2.18.0
- Tokenizers 0.15.2