Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 5 new columns ({'wound_pixels', 'has_wound', 'split', 'bbox_yolo', 'mask_path'}) and 4 missing columns ({'original_class', 'azh_split', 'unified_label', 'unified_class'}).

This happened while the csv dataset builder was generating data using

hf://datasets/QianGroup/willie-benchmark/manifests/det_train.csv (at revision 12c02a1cfcf24adb98d1f3fa1a002461b3b27864), ['hf://datasets/QianGroup/willie-benchmark@12c02a1cfcf24adb98d1f3fa1a002461b3b27864/manifests/cls_train.csv', 'hf://datasets/QianGroup/willie-benchmark@12c02a1cfcf24adb98d1f3fa1a002461b3b27864/manifests/det_train.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              image_path: string
              mask_path: string
              split: string
              has_wound: bool
              bbox_yolo: string
              wound_pixels: int64
              source: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1091
              to
              {'image_path': Value('string'), 'original_class': Value('string'), 'unified_label': Value('int64'), 'unified_class': Value('string'), 'source': Value('string'), 'azh_split': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 5 new columns ({'wound_pixels', 'has_wound', 'split', 'bbox_yolo', 'mask_path'}) and 4 missing columns ({'original_class', 'azh_split', 'unified_label', 'unified_class'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/QianGroup/willie-benchmark/manifests/det_train.csv (at revision 12c02a1cfcf24adb98d1f3fa1a002461b3b27864), ['hf://datasets/QianGroup/willie-benchmark@12c02a1cfcf24adb98d1f3fa1a002461b3b27864/manifests/cls_train.csv', 'hf://datasets/QianGroup/willie-benchmark@12c02a1cfcf24adb98d1f3fa1a002461b3b27864/manifests/det_train.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

image_path
string
original_class
string
unified_label
int64
unified_class
string
source
string
azh_split
string
data/AZH/train/no wound/29.jpg
no wound
4
no_wound
AZH-azh_train
train
data/AZH/train/surgical/37_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/BG/17.jpg
BG
4
no_wound
AZH-azh_train
train
data/AZH/train/diabetic/55_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/AZH/train/pressure/96_0.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/venous/119_0.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/diabetic/87_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/AZH/train/no wound/8.jpg
no wound
4
no_wound
AZH-azh_train
train
data/Medetec/diabetic/foot-ulcer-0002.jpg
diabetic
0
diabetic
Medetec
train
data/Medetec/venous/leg-ulcer-case-2-13.jpg
venous
3
venous
Medetec
train
data/AZH/train/venous/115_1.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/pressure/94_0.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/pressure/69_1.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/pressure/29_0.jpg
pressure
1
pressure
AZH-azh_train
train
data/Medetec/pressure/undermining0002.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/diabetic/146_1.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/AZH/train/venous/82_0.jpg
venous
3
venous
AZH-azh_train
train
data/Medetec/diabetic/foot-ulcer-0026.jpg
diabetic
0
diabetic
Medetec
train
data/AZH/train/surgical/52_1.jpg
surgical
2
surgical
AZH-azh_train
train
data/Medetec/pressure/pressure-ulcer-on-foot-0039.jpg
pressure
1
pressure
Medetec
train
data/Medetec/diabetic/foot-ulcer-0018.jpg
diabetic
0
diabetic
Medetec
train
data/AZH/train/venous/43_0.jpg
venous
3
venous
AZH-azh_train
train
data/Medetec/venous/leg-ulcer-healing-well-0107.jpg
venous
3
venous
Medetec
train
data/Medetec/pressure/healing-pressure-ulcer-0025.jpg
pressure
1
pressure
Medetec
train
data/Medetec/pressure/pressure-ulcer-on-foot-0028.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/diabetic/108_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/AZH/train/surgical/105_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/BG/74.jpg
BG
4
no_wound
AZH-azh_train
train
data/Medetec/pressure/necrotic-pressure-ulcer-0002.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/venous/97_1.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/diabetic/134_1.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/AZH/train/no wound/20.jpg
no wound
4
no_wound
AZH-azh_train
train
data/AZH/train/surgical/110_1.jpg
surgical
2
surgical
AZH-azh_train
train
data/Medetec/venous/leg-ulcer-case-3-9.jpg
venous
3
venous
Medetec
train
data/Medetec/pressure/pressure-ulcer-on-head-006.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/pressure/48_2.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/pressure/62_0.jpg
pressure
1
pressure
AZH-azh_train
train
data/Medetec/pressure/treating--pressure-ulcers0002.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/no wound/75.jpg
no wound
4
no_wound
AZH-azh_train
train
data/AZH/train/venous/106_1.jpg
venous
3
venous
AZH-azh_train
train
data/Medetec/pressure/sloughy-pressure-ulcer-0021.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/diabetic/64_1.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/Medetec/pressure/necrotic-pressure-ulcer-0001.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/surgical/6_1.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/surgical/1_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/pressure/10_2.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/surgical/21_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/venous/110_0.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/venous/3_0.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/venous/118_0.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/diabetic/122_1.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/AZH/train/venous/147_0.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/diabetic/84_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/Medetec/pressure/sloughy-pressure-ulcer-0027.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/diabetic/25_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/AZH/train/surgical/77_1.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/no wound/53.jpg
no wound
4
no_wound
AZH-azh_train
train
data/AZH/train/pressure/72_1.jpg
pressure
1
pressure
AZH-azh_train
train
data/Medetec/diabetic/foot-ulcer-0017.jpg
diabetic
0
diabetic
Medetec
train
data/AZH/train/pressure/25_3.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/venous/38_1.jpg
venous
3
venous
AZH-azh_train
train
data/Medetec/pressure/necrotic-pressure-ulcer-0016.jpg
pressure
1
pressure
Medetec
train
data/Medetec/toes/toes-0023.jpg
toes
0
diabetic
Medetec
train
data/Medetec/venous/leg-ulcers-0092.jpg
venous
3
venous
Medetec
train
data/AZH/train/diabetic/41_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/Medetec/diabetic/foot-ulcer-0004.jpg
diabetic
0
diabetic
Medetec
train
data/AZH/train/pressure/83_0.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/surgical/54_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/venous/155_0.jpg
venous
3
venous
AZH-azh_train
train
data/Medetec/pressure/necrotic-pressure-ulcer-0008.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/venous/153_1.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/no wound/31.jpg
no wound
4
no_wound
AZH-azh_train
train
data/AZH/train/surgical/65_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/Medetec/toes/toes-0041.jpg
toes
0
diabetic
Medetec
train
data/Medetec/diabetic/foot-ulcer-0019.jpg
diabetic
0
diabetic
Medetec
train
data/AZH/train/surgical/11_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/Medetec/venous/leg-ulcers-0013.jpg
venous
3
venous
Medetec
train
data/AZH/train/venous/26_0.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/diabetic/11_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/Medetec/pressure/pressure-ulcer-on-foot-0029.jpg
pressure
1
pressure
Medetec
train
data/Medetec/toes/toes-0001.jpg
toes
0
diabetic
Medetec
train
data/Medetec/venous/leg-ulcers-0052.jpg
venous
3
venous
Medetec
train
data/AZH/train/BG/42.jpg
BG
4
no_wound
AZH-azh_train
train
data/AZH/train/surgical/2_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/Medetec/pressure/pressure-ulcer-on-neck-004.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/pressure/73_0.jpg
pressure
1
pressure
AZH-azh_train
train
data/AZH/train/BG/47.jpg
BG
4
no_wound
AZH-azh_train
train
data/AZH/train/venous/150_0.jpg
venous
3
venous
AZH-azh_train
train
data/AZH/train/diabetic/92_0.jpg
diabetic
0
diabetic
AZH-azh_train
train
data/Medetec/pressure/healing-pressure-ulcer-0030.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/venous/48_0.jpg
venous
3
venous
AZH-azh_train
train
data/Medetec/diabetic/foot-ulcer-3-2.jpg
diabetic
0
diabetic
Medetec
train
data/AZH/train/venous/69_0.jpg
venous
3
venous
AZH-azh_train
train
data/Medetec/diabetic/foot-ulcer-0027.jpg
diabetic
0
diabetic
Medetec
train
data/Medetec/pressure/undermining0017.jpg
pressure
1
pressure
Medetec
train
data/AZH/train/surgical/81_0.jpg
surgical
2
surgical
AZH-azh_train
train
data/AZH/train/BG/46.jpg
BG
4
no_wound
AZH-azh_train
train
data/AZH/train/pressure/48_3.jpg
pressure
1
pressure
AZH-azh_train
train
data/Medetec/venous/leg-ulcers-0020.jpg
venous
3
venous
Medetec
train
data/Medetec/pressure/necrotic-pressure-ulcer-0012.jpg
pressure
1
pressure
Medetec
train
End of preview.

WILLIE Wound Benchmark

WILLIE benchmark overview

Three public wound datasets unified into a single 5-class taxonomy with fixed splits for classification, segmentation and localization.

The benchmark accompanying WILLIE, published at MLHC 2026.

Developed in the Qian Group, University of Houston.


What this is

Three public wound datasets — FUSeg, AZH and Medetec — mapped onto one 5-class taxonomy with fixed, verified splits and a shared evaluation protocol across three tasks. Before this, the three were benchmarked separately with incompatible label schemes, which made cross-dataset comparison impossible.

The contribution is the unification and the splits, not the images.

Class Label
diabetic 0
pressure 1
surgical 2
venous 3
no_wound 4

3,535 referenced files across classification, detection and segmentation tasks.


Contents

data.tar.gz              images from all three source datasets
index/
  data_index.csv         unified index, 2,525 rows, the authoritative source
  splits.json            split definitions
  label_map.json         taxonomy mapping
  azh_clean_trainval.csv AZH cleaned train/val index
  fuseg_det_boxes.csv    FUSeg detection boxes
manifests/
  cls_train.csv          918   classification
  cls_val.csv            648
  cls_test.csv           234
  det_train.csv          810   detection
  det_val.csv            400
  fuseg_test.csv         200   segmentation test
  5fold_splits_v2.pt     cross-validation folds
  data_census.json       per-source counts
verify_data.py           confirms your images are correctly placed

Usage

tar -xzf data.tar.gz
python verify_data.py

Expected output:

TOTAL                      3535        0
All referenced files present. The splits will reproduce.

The script reports per-directory counts and names any missing files, so a partial or mis-nested extraction is caught before you train on it.

Expected layout

data/
├── FUSeg/
│   ├── train/images/   610      train/labels/   610
│   ├── val/images/     400      val/labels/     400
│   └── test/images/    200      (no public labels)
├── AZH/
│   ├── train/   BG 75 · diabetic 139 · "no wound" 75 ·
│   │            pressure 100 · surgical 122 · venous 185
│   └── test/    BG 25 · diabetic 46 · "no wound" 25 ·
│                pressure 34 · surgical 42 · venous 62
└── Medetec/
    ├── diabetic/   48        pressure/  170
    └── toes/       34        venous/    133

The AZH class folder no wound contains a space. Keep it.

All manifest paths are relative to the repository root.


Source datasets

Dataset Source Terms
FUSeg fusc.grand-challenge.org Challenge data-use agreement required
AZH UWM Big Data Lab, AZH Wound and Vascular Center See source repository
Medetec medetec.co.uk See site terms

Each carries its own licence. Obtain them from their original sources and comply with those terms. The archive here is provided for reproducibility of the published splits and does not grant any rights over the underlying images.


Reference results

WILLIE test-set results on this benchmark:

Task Metric Score
Classification Accuracy 91.88%
Segmentation Dice 91.41%
Localization AP@0.5 96.23%

Headline numbers use the 5-fold ensemble with test-time augmentation. See the paper for the full protocol.


Known limitations

Duplicate images across splits. Verified by byte-level comparison:

  • One image identical between AZH train and test (train/surgical/10_0.jpg / test/surgical/99_0.jpg). On the 234-image AZH test set, the maximum effect on the reported 91.88% accuracy is 0.43 percentage points (worst case 91.45%).
  • Nine image pairs identical between FUSeg train and validation. Validation is used for model selection only and does not enter the reported test Dice.
  • Duplicate copies within splits: FUSeg train 10, validation 6, test 7.
  • FUSeg train↔test and validation↔test: no duplicates.

Domain coverage. Foot, pressure, venous and surgical wound photographs from a small number of clinical sources. Imaging conditions, camera hardware and skin-tone distribution are not controlled or documented, and per-skin-tone performance has not been measured. Treat cross-population generalisation as untested.

Class balance. no_wound and background classes derive from AZH only. The taxonomy merges source-specific labels; the mapping is in index/label_map.json.

Research use only. Not validated for clinical decision-making.


Citation

@inproceedings{willie2026,
  title     = {WILLIE: A Unified Vision-Transformer Framework and Benchmark
               for Wound Classification, Segmentation, and Localization},
  author    = {Maddikunta, Gopi Trinadh and Qian, Peizhu},
  booktitle = {Proceedings of the Machine Learning for Healthcare Conference (MLHC)},
  year      = {2026}
}

Please also cite FUSeg, AZH and Medetec per their own requirements.


Developed in the Qian Group, University of Houston. Advisor: Dr. Peizhu Qian. Computation performed on the UH carya cluster.

Downloads last month
36