Downloads · 30 days
0
muhwira27/skin-lesion-models
skin-lesion-models is a machine learning model from muhwira27. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains trained PyTorch checkpoints for skin lesion classification on the PAD-UFES-20 dataset.
Downloads · 30 days
0
Access
Public
Updated Jan 1, 2026
Repo size
618 MB
Likes
0
Public
Click a slice to open those files.
.ckpt618 MB · 100%
From the Hugging Face model README
This repository contains trained PyTorch checkpoints for skin lesion classification on the PAD-UFES-20 dataset.
| Model | Macro-F1 | Params (M) | Fold |
|---|---|---|---|
| ShuffleNet V2 | 0.648 | 1.26 | 3 |
| DenseNet-121 | 0.637 | 6.96 | 0 |
| ViT-Small | 0.624 | 21.67 | 4 |
| SE-ResNet50 | 0.617 | 26.05 | 1 |
| EfficientNetV2-S | 0.615 | 20.19 | 0 |
| ResNet-50 | 0.604 | 23.52 | 3 |
| RegNetY-032 | 0.608 | 17.93 | 4 |
| MobileNetV3 | 0.631 | 4.21 | 1 |
| ConvNeXt Tiny | 0.601 | 27.82 | 0 |
| EfficientNet-B0 | 0.613 | 4.02 | 0 |
from huggingface_hub import hf_hub_download
import torch
# Download a specific model
ckpt_path = hf_hub_download(
repo_id="muhwira27/skin-lesion-models",
filename="shufflenet_v2_x1_0_best.ckpt"
)
# Load checkpoint
checkpoint = torch.load(ckpt_path, map_location="cpu")
# Checkpoint contents
# - backbone: str (model architecture name)
# - state_dict: model weights
# - label2id: dict mapping class names to indices
# - img_size: int (input image size, typically 224)
shufflenet_v2_x1_0_best.ckpt - Best model (smallest & best performance)densenet121_best.ckptvit_small_patch16_224_best.ckptseresnet50_best.ckpttf_efficientnetv2_s_best.ckptresnet50_best.ckptregnety_032_best.ckptmobilenet_v3_large_best.ckptconvnext_tiny_best.ckptefficientnet_b0_best.ckptMIT License
Muh. Wira Ramdhani Fadhil