Spaces:
Running
Running
File size: 1,680 Bytes
15824a6 814f7c0 ead325d 814f7c0 15824a6 01aef11 e2dc7f3 15824a6 814f7c0 15824a6 814f7c0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ---
title: Chronic Wound Classifier
emoji: 🩺
colorFrom: red
colorTo: blue
sdk: gradio
sdk_version: 5.49.1
python_version: "3.11"
app_file: app.py
pinned: false
license: mit
---
# Chronic Wound Classifier — 4-class AZH demo
Demo classifier for chronic wound photographs: predicts one of four wound types
(diabetic ulcer, pressure ulcer, surgical wound, venous ulcer) from an uploaded image.
**Not a medical device. Not for clinical use.** Research demonstration only.
## Headline metric
Top-1 accuracy on the held-out AZH Test set (n=184): **0.8152**
(`cv_baseline_fold5_best.pt` — the highest single-fold checkpoint from
patient-grouped 10-fold cross-validation).
The 10-fold soft-vote ensemble of the same recipe scores 0.7989 on the same
set; the single-checkpoint variant is shipped here for inference latency
and footprint reasons.
## Architecture
EfficientNet-B0 (ImageNet-pretrained), two-phase fine-tune (head-only 5 epochs
at lr=1e-3, then full network 15 epochs at lr=1e-4). Patient-grouped CV
splits ensure the same patient's images never appear in both train and val.
## Limitations
- **Pressure-class accuracy is ~0.41** — interpret pressure-class predictions with care.
- No fairness audit across skin tones (known gap).
- English-only UI; no mobile or offline build.
- Not validated on real patient cohorts outside AZH.
## Source code & training pipeline
The training, evaluation, and methodology code live in the project repo:
[github.com — wound-classification](#) (full link to be added by user)
## Citation
Anisuzzaman et al. 2022. *Multi-modal wound classification using wound image
and location by deep neural network.* Sci. Rep. 12:20057.
|