Downloads · 30 days
81
19% of all-time downloads
PayamFard123/dermaintel-wound-classifier
dermaintel-wound-classifier is a image classification model from PayamFard123. Use it when you need a label for an image. The card lists the license as apache-2.0.
Fine-tuned Vision Transformer (ViT) for medical wound type classification. Part of the DermaIntel medical imaging platform.
Downloads · 30 days
81
19% of all-time downloads
All-time downloads
420
Public
Parameters
85.8M
343 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors343 MB · 100%
From the Hugging Face model README
Fine-tuned Vision Transformer (ViT) for medical wound type classification. Part of the DermaIntel medical imaging platform.
This model classifies wound images into 7 categories:
from transformers import ViTForImageClassification, ViTImageProcessor
from PIL import Image
# Load model
processor = ViTImageProcessor.from_pretrained("PayamFard123/dermaintel-wound-classifier")
model = ViTForImageClassification.from_pretrained("PayamFard123/dermaintel-wound-classifier")
# Classify image
image = Image.open("wound_image.jpg")
inputs = processor(images=image, return_tensors="pt")
outputs = model(**inputs)
predicted_class = outputs.logits.argmax(-1).item()
| Index | Label |
|---|---|
| 0 | Pressure Ulcer/Injury |
| 1 | Venous Ulcer |
| 2 | Arterial Ulcer |
| 3 | Diabetic Ulcer |
| 4 | Surgical Wound |
| 5 | Traumatic Wound |
| 6 | Normal/Healthy Skin |
If you use this model, please cite:
@misc{dermaintel-wound-classifier,
title={DermaIntel Wound Type Classifier},
author={DermaIntel Team},
year={2024},
publisher={HuggingFace},
url={https://huggingface.co/PayamFard123/dermaintel-wound-classifier}
}
For questions or issues, contact the DermaIntel team.