Datasets:
The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ValueError
Message: Multiple files found in ZIP file. Only one file per ZIP: ['oct_bscans.npy', 'slo_fundus.npy', 'race.npy', 'male.npy', 'hispanic.npy', 'maritalstatus.npy', 'language.npy', 'amd_condition.npy']
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 4195, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2533, in _head
return next(iter(self.iter(batch_size=n)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2711, in iter
for key, pa_table in ex_iterable.iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2249, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/csv/csv.py", line 196, in _generate_tables
csv_file_reader = pd.read_csv(file, iterator=True, dtype=dtype, **self.config.pd_read_csv_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/streaming.py", line 73, in wrapper
return function(*args, download_config=download_config, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/utils/file_utils.py", line 1250, in xpandas_read_csv
return pd.read_csv(xopen(filepath_or_buffer, "rb", download_config=download_config), **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/readers.py", line 1026, in read_csv
return _read(filepath_or_buffer, kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/readers.py", line 620, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/readers.py", line 1620, in __init__
self._engine = self._make_engine(f, self.engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/readers.py", line 1880, in _make_engine
self.handles = get_handle(
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/common.py", line 805, in get_handle
raise ValueError(
ValueError: Multiple files found in ZIP file. Only one file per ZIP: ['oct_bscans.npy', 'slo_fundus.npy', 'race.npy', 'male.npy', 'hispanic.npy', 'maritalstatus.npy', 'language.npy', 'amd_condition.npy']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.
Dataset Card: Harvard-FairVision
Dataset Summary
Harvard-FairVision is the first large-scale medical fairness dataset with both 2D and 3D imaging data, covering three major eye diseases affecting approximately 380 million people worldwide. It contains 30,000 subjects (10,000 per disease) across Age-Related Macular Degeneration (AMD), Diabetic Retinopathy (DR), and glaucoma, each with paired SLO fundus photos and 3D OCT B-scans and six demographic identity attributes.
This dataset was introduced in the paper: FairVision: Equitable Deep Learning for Eye Disease Screening via Fair Identity Scaling.
Dataset Details
Dataset Description
| Field | Value |
|---|---|
| Institution | Department of Ophthalmology, Harvard Medical School |
| Tasks | AMD detection, diabetic retinopathy detection, glaucoma detection |
| Modalities | Scanning Laser Ophthalmoscopy (SLO) fundus images, 3D OCT B-scans |
| Scale | 30,000 subjects (10,000 per disease) |
| OCT size | 200 Γ 200 Γ 200 (glaucoma), 128 Γ 200 Γ 200 (AMD, DR) |
| SLO size | 512 Γ 664 (folders), 200 Γ 200 (NPZ, normalized to [0, 255]) |
| Total size | ~600 GB |
| License | CC BY-NC-ND 4.0 |
- Curated by: Yan Luo, Muhammad Osama Khan, Yu Tian, Min Shi, Zehao Dou, Tobias Elze, Yi Fang, Mengyu Wang
- License: CC BY-NC-ND 4.0 β non-commercial research only
- Paper: arXiv:2310.02492
- Contact: harvardophai@gmail.com, harvardairobotics@gmail.com
Dataset Structure
FairVision
βββ AMD
β βββ Training
β βββ Validation
β βββ Test
βββ data_summary_amd.csv
βββ DR
β βββ Training
β βββ Validation
β βββ Test
βββ data_summary_dr.csv
βββ Glaucoma
β βββ Training
β βββ Validation
β βββ Test
βββ data_summary_glaucoma.csv
Each split folder contains SLO fundus photos (slo_xxxxx.jpg) and NPZ files (data_xxxxx.npz). Per-disease metadata CSVs (data_summary_*.csv) provide race, gender, ethnicity, marital status, age, and preferred language for all subjects.
Data Fields
All NPZ files share the following demographic and imaging fields:
| Field | Description |
|---|---|
slo_fundus |
SLO fundus image, 200 Γ 200 (normalized) |
oct_bscans |
3D OCT B-scans (200 Γ 200 Γ 200 for glaucoma; 128 Γ 200 Γ 200 for AMD/DR) |
race |
0 = Asian, 1 = Black, 2 = White |
male |
0 = Female, 1 = Male |
hispanic |
0 = Non-Hispanic, 1 = Hispanic |
maritalstatus |
0 = Married, 1 = Single, 2 = Divorced, 3 = Widowed, 4 = Legally Separated |
language |
0 = English, 1 = Spanish, 2 = Other |
Disease-specific label fields:
| Disease | Field | Values |
|---|---|---|
| Glaucoma | glaucoma |
0 = non-glaucoma, 1 = glaucoma |
| AMD | amd_condition |
9-class condition string, mapped to 0 = no AMD, 1 = early dry, 2 = intermediate dry, 3 = advanced |
| DR | dr_subtype |
6-class condition string, mapped to 0 = non-vision-threatening, 1 = vision-threatening (severe NPDR or PDR) |
Uses
Direct Use
- Fairness benchmarking for 2D and 3D ophthalmic disease classification across race, gender, and ethnicity
- Multi-disease fairness analysis (AMD, DR, glaucoma) under a unified framework
- Development and evaluation of fairness learning methods for medical imaging
- Comparative study of 2D vs. 3D model fairness in clinical AI
Out-of-Scope Use
Clinical decisions, patient care, or any commercial application. This dataset shall not be used for clinical decisions at any time.
Access
The "Harvard" designation indicates the dataset originates from the Department of Ophthalmology at Harvard Medical School. It does not imply endorsement, sponsorship, or legal responsibility by Harvard University or Harvard Medical School.
Citation
BibTeX:
@misc{luo2024fairvisionequitabledeeplearning,
title={FairVision: Equitable Deep Learning for Eye Disease Screening via Fair Identity Scaling},
author={Yan Luo and Muhammad Osama Khan and Yu Tian and Min Shi and Zehao Dou and Tobias Elze and Yi Fang and Mengyu Wang},
year={2024},
eprint={2310.02492},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2310.02492}
}
APA:
Luo, Y., Khan, M. O., Tian, Y., Shi, M., Dou, Z., Elze, T., Fang, Y., & Wang, M. (2024). FairVision: Equitable Deep Learning for Eye Disease Screening via Fair Identity Scaling. arXiv preprint arXiv:2310.02492.
- Downloads last month
- 28