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
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      Mask must be a pyarrow.Array of type boolean
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1607, in _prepare_split_single
                  num_examples, num_bytes = writer.finalize()
                                            ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 770, in finalize
                  self.write_examples_on_file()
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 655, in write_examples_on_file
                  self.write_batch(batch_examples=batch_examples)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 747, in write_batch
                  self.write_table(pa_table, writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 762, in write_table
                  pa_table = embed_table_storage(pa_table)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in embed_table_storage
                  embed_array_storage(table[name], feature, token_per_repo_id=token_per_repo_id)
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2124, in embed_array_storage
                  return feature.embed_storage(array, token_per_repo_id=token_per_repo_id)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/nifti.py", line 250, in embed_storage
                  storage = pa.StructArray.from_arrays([bytes_array, path_array], ["bytes", "path"], mask=bytes_array.is_null())
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/array.pxi", line 4259, in pyarrow.lib.StructArray.from_arrays
                File "pyarrow/array.pxi", line 4929, in pyarrow.lib.c_mask_inverted_from_obj
              TypeError: Mask must be a pyarrow.Array of type boolean
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1342, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1438, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1616, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

subject_id
int32
num_slices
int32
ct_middle_slice
image
mask_middle_slice
image
overlay_middle_slice
image
1
767
2
829
3
714
4
598
5
619
6
575
7
723
8
533
9
727
10
241
11
553
12
602
13
620
14
584
15
556
16
843
17
602
18
706
19
666
20
286
21
717
22
329
23
694
24
607
25
328
26
265
27
723

AeroPath

AeroPath is an airway segmentation benchmark dataset with challenging pathology, containing 27 contrast-enhanced CT scans acquired at St. Olavs Hospital, Trondheim, Norway.

Dataset Summary

Field Details
Modality Contrast-enhanced CT (CTA)
Body Part Chest — airways and lungs
Subjects 27
Labels Airways, Lungs
Total Size ~4.8 GB
License CC-BY 4.0

Data Structure

Each subject folder contains:

  • {N}_CT_HR.nii.gz — CT volume
  • {N}_CT_HR_label_airways.nii.gz — airway segmentation mask
  • {N}_CT_HR_label_lungs.nii.gz — lung segmentation mask

Citation

@dataset{hofstad2023aeropathzenodo,
  title     = {AeroPath: An airway segmentation benchmark dataset with challenging pathology},
  author    = {Hofstad, Erlend and Bouget, David and Pedersen, André},
  month     = nov,
  year      = 2023,
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.10069289},
  url       = {https://doi.org/10.5281/zenodo.10069289}
}

@article{stoverud2024aeropath,
  title   = {AeroPath: An airway segmentation benchmark dataset with challenging pathology and baseline method},
  author  = {Støverud, Karen-Helene and Bouget, David and Pedersen, André and Langø, Thomas and Hofstad, Erlend Fagertun and others},
  journal = {PLOS ONE},
  volume  = {19},
  number  = {10},
  pages   = {e0311416},
  year    = {2024},
  doi     = {10.1371/journal.pone.0311416}
}
Downloads last month
102