Downloads · 30 days
0
mahnoor-2722/skin-lesion-classifier
skin-lesion-classifier is a image classification model from mahnoor-2722. Use it when you need a label for an image. It is set up for keras. The card lists the license as mit.
An AI-powered deep learning model for classifying 8 different skin conditions using EfficientNetB0, achieving 81.75% test accuracy on 14,711 dermatoscopic images.
Downloads · 30 days
0
Access
Public
Updated Aug 19, 2026
Repo size
26.9 MB
Likes
1
Public
Click a slice to open those files.
.h526.9 MB · 100%
From the Hugging Face model README
An AI-powered deep learning model for classifying 8 different skin conditions using EfficientNetB0, achieving 81.75% test accuracy on 14,711 dermatoscopic images.
| Metric | Value |
|---|---|
| Test Accuracy | 81.75% |
| Validation Accuracy | 83.60% |
| Weighted F1-Score | 0.82 |
| Class | Accuracy |
|---|---|
| Normal Skin | 100.00% |
| Acne | 93.82% |
| Basal Cell Carcinoma | 86.00% |
| Melanoma | 84.67% |
| Eczema | 82.94% |
| Melanocytic Nevi | 75.00% |
| Fungal Infection | 69.14% |
| Benign Keratosis | 66.33% |
Install requirements and load the model:
pip install tensorflow huggingface_hub pillow
Load the model in Python:
from huggingface_hub import hf_hub_download
from tensorflow.keras.models import load_model
model_path = hf_hub_download(
repo_id="mahnoor-2722/skin-lesion-classifier",
filename="efficientnetb0_8class_best.h5"
)
model = load_model(model_path)
This model is for educational and research purposes only. It should NOT be used as a substitute for professional medical diagnosis. Always consult a qualified dermatologist for accurate assessment.
Released under MIT License. Free to use with attribution.
Mahnoor
Built with ❤️ for advancing medical AI research