Downloads · 30 days
21
3% of all-time downloads
gianlab/swin-tiny-patch4-window7-224-finetuned-lungs-disease
swin-tiny-patch4-window7-224-finetuned-lungs-disease is a image classification model from gianlab. Use it when you need a label for an image. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
21
3% of all-time downloads
All-time downloads
647
Public
Parameters
27.6M
662 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors110 MB · 100%
How the weights are stored.
F3227.5M · 100%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/swin-tiny-patch4-window7-224 on the imagefolder dataset. It achieves the following results on the evaluation set:
This model was created by importing the dataset of the chest x-rays images into Google Colab from kaggle here:
https://www.kaggle.com/datasets/omkarmanohardalvi/lungs-disease-dataset-4-types .
I then used the image classification tutorial here:
obtaining the following notebook:
https://colab.research.google.com/drive/1rNKeA25BR05iMUvKFvRD8SkySBOlO4AC?usp=sharing
The possible classified data are:
<ul> <li>Viral Pneumonia</li> <li>Corona Virus Disease</li> <li>Normal</li> <li>Tuberculosis</li> <li>Bacterial Pneumonia</li> </ul>
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.7851 | 0.98 | 21 | 0.4674 | 0.8152 |
| 0.4335 | 2.0 | 43 | 0.3662 | 0.8515 |
| 0.3231 | 2.98 | 64 | 0.3361 | 0.8581 |
| 0.3014 | 4.0 | 86 | 0.2817 | 0.8746 |
| 0.252 | 4.88 | 105 | 0.3071 | 0.8713 |