File size: 1,054 Bytes
4a312b6 |
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 |
---
license: cc-by-nc-sa-4.0
---
# ACDC Dataset
This is a pre-processed version of the original
[Automated Cardiac Diagnosis Challenge (ACDC) dataset](https://www.creatis.insa-lyon.fr/Challenge/acdc/databases.html).
Short-axis view images have been resampled to 1mm x 1mm x 10mm. Images have also been center cropped at the left
ventricle mask center. The size of each slice is 192 x 192 pixels.
Download the dataset using the following command:
```bash
from huggingface_hub import snapshot_download
data_dir = snapshot_download(repo_id="mathpluscode/ACDC", allow_patterns=["*.nii.gz", "*.csv"], repo_type="dataset")
```
where `data_dir` is the directory where the dataset will be downloaded. The data structure is as follows:
```
train.csv
train/
βββ patient001/
β βββ patient001_frame01.nii.gz
β βββ patient001_frame01_gt.nii.gz
β βββ patient001_frame12.nii.gz
β βββ patient001_frame12_gt.nii.gz
βββ patient002/
βββ ...
test/
βββ patient101/
βββ patient102/
βββ ...
```
|