Instructions to use SM200203102097/skinDiseasesDetectionModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SM200203102097/skinDiseasesDetectionModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="SM200203102097/skinDiseasesDetectionModel") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("SM200203102097/skinDiseasesDetectionModel") model = AutoModelForImageClassification.from_pretrained("SM200203102097/skinDiseasesDetectionModel") - Notebooks
- Google Colab
- Kaggle
Create README.md
#2
by Inderdev07 - opened
Skin Diseases Detection Model (DermaDL)
Overview
This repository hosts a deep learning–based skin disease detection model trained on dermoscopic images.
The model classifies multiple skin conditions using a Convolutional Neural Network (CNN) and is designed to support early screening and awareness.
⚠️ This model is intended for research and educational purposes only and should not be used as a replacement for professional medical diagnosis.
Model Details
- Architecture: CNN (Transfer Learning)
- Framework: PyTorch
- Task: Image Classification
- Domain: Medical Imaging (Dermatology)
- Accuracy: ~91% on validation data
Supported Classes
- Melanoma
- Basal Cell Carcinoma
- Squamous Cell Carcinoma
- Benign Keratosis
- Actinic Keratosis
- Dermatofibroma
- Vascular Lesions
- Nevus
(Class labels may vary depending on dataset version)
Training Details
- Dataset: Dermoscopic skin lesion images
- Image Size: 224 × 224
- Loss Function: Cross-Entropy Loss
- Optimizer: Adam
- Evaluation Metric: Accuracy
How to Use
1️⃣ Install Dependencies
pip install torch torchvision pillow