SAVRN
Search Contact SAVRN

Open-weight model · Image classification

skin-lesion-classifier-resnet18

by Ashraf Farhan2000/skin-lesion-classifier-resnet18

Trained on HAM10000. Educational project — not diagnostic-grade, not a medical device.

Parameters
Context
Weights44.8 MB
Licensemit
AccessOpen weights
Monthly Downloads

Model Card

By Ashraf, published under mit, revision f660b079034a.

Trained on HAM10000. Educational project — not diagnostic-grade, not a medical device.

Read Ashraf's full model card

Skin Lesion Classifier (ResNet18, HAM10000, 7 classes)

Trained on HAM10000. Educational project — not diagnostic-grade, not a medical device.

Classes: {'actinic_keratoses': 0, 'basal_cell_carcinoma': 1, 'benign_keratosis-like_lesions': 2, 'dermatofibroma': 3, 'melanocytic_Nevi': 4, 'melanoma': 5, 'vascular_lesions': 6}

Load

import torch, torchvision.models as models
from huggingface_hub import hf_hub_download

model = models.resnet18(weights=None)
model.fc = torch.nn.Linear(model.fc.in_features, 7)
weights_path = hf_hub_download(repo_id="Farhan2000/skin-lesion-classifier-resnet18", filename="model.pth")
model.load_state_dict(torch.load(weights_path, map_location="cpu"))
model.eval()

Validation accuracy: 0.8937

Identity and Version

Repository
Farhan2000/skin-lesion-classifier-resnet18
Publisher
Ashraf
Task
Image classification
Modality
Image
Library
Not stated by the source
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
f660b079034a3abb4f5be2bdd1551b7b32f374dd
First published
2026-09-18
Last updated
2026-09-18

Files and Weights

3 files, 44.8 MB in total. The weights are 1 file totalling 44.8 MB in pth.

Weights1 file · 44.8 MB
Documentation1 file · 909 B
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.pthWeights44.8 MB 642f94ea0ee0
README.mdDocumentation909 B
.gitattributesRepository1.5 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
44.8 MB
Download from Ashraf

Released by Ashraf through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published44.8 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About skin-lesion-classifier-resnet18

Can I use skin-lesion-classifier-resnet18 commercially?

Yes. skin-lesion-classifier-resnet18 is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Image classification

swinv2-tiny-patch4-window16-256

Microsoft

Swin Transformer v2 model pre-trained on ImageNet-1k at resolution 256x256. It was introduced in the paper Swin Transformer V2: Scaling Up Capacity and Resolution by Liu et al. and first released in this repository. Disclaimer: The team releasing Swin Transformer v2 did not write a model card for this model so this model card has been written by the Hugging Face team. The Swin Transformer is a type of Vision Transformer. It builds hierarchical feature maps by merging image patches (shown in gray) in deeper layers and has linear computation complexity to input image size due to computation of self-attention only within each local window (shown in red). It can thus serve as a general-purpose…

Open weights apache-2.0 transformers

Model · Image classification

AI-image-detector

Matthew Maybe

NOTE: Unless you are trying to detect imagery generated using older models such as VQGAN+CLIP, please use the updated version of this detector instead. This model is a proof-of-concept demonstration of using a ViT model to predict whether an artistic image was generated using AI. It was created in October 2022, and as such, the training data did not include any samples generated by Midjourney 5, SDXL, or DALLE-3. It still may be able to correctly identify samples from these more recent models due to being trained on outputs of their predecessors. Furthermore the intended scope of this tool is artistic images; that is to say, it is not a deepfake photo detector, and general computer imagery…

Open weights cc-by-4.0 transformers

Model · Image classification

traffic-sign-adverse-weather

Yy

Official model checkpoints for the solution in the Traffic Sign Recognition under Adverse Weather Competition. See classes.txt for the 25 traffic sign classes. For inference scripts, training code, and in-depth engineering retrospective, visit the GitHub Repository.

Open weights mit timm

Model · Image classification

tinyvit-5m-int8-imagenet

Core Epoch

TinyViT-5M (timm/tinyvit5m224.distin22kftin1k, Apache-2.0) quantized to INT8 with Kenosis — 128-image calibration, no retraining. 80.53% top-1 from a 9.2 MB single file, on ONNX Runtime or OpenVINO, CPU or GPU, no accelerator required. ImageNet-1K validation, 49,872 images (disjoint from the 128 calibration images). Measured on a CPU with AVX-VNNI; on CPUs without VNNI this model's INT8 top-1 sits ~0.9 below FP32 rather than 0.34. Input 1x3x224x224, RGB, /255, ImageNet mean/std. Output logits [1,1000], sorted-synset order. runclassify.py / evalimagenet.py reproduce the demo and table. tinyvit5m224int8kenosis.onnx (9,228,567 B) — SHA-256…

Open weights apache-2.0 onnx

Model · Image classification

mmfm-breast-imaging-checkpoints

NFadlallah

ResNet-18 binary (benign vs. malignant) classification checkpoints, trained per-dataset on eight public breast-imaging sources spanning ultrasound, Full write-up, methodology, and comparison to each source paper's own These are single-modality baselines, not the 3-branch fusion model. Each checkpoint is models.SingleBackboneClassifier (one ResNet-18 backbone, ImageNet-pretrained, first conv adapted for non-RGB inputs where applicable) — see models/backbone.py / training/train.py in the repo for the loading code. For the 5-fold datasets, this is one fold's checkpoint, not an ensemble or the averaged model — reported accuracy is the 5-fold mean from the full report for context, not this…

Open weights cc-by-4.0