Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: UnicodeDecodeError
Message: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/text/text.py", line 98, in _generate_tables
batch = f.read(self.config.chunksize)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 844, in read_with_retries
out = read(*args, **kwargs)
File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
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 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 1869, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text string |
|---|
243 228 366 |
226 221 366 |
276 239 370 |
309 268 418 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
<point_set_file> |
<file_version>0.1</file_version> |
<point_set> |
<time_series> |
<time_series_id>0</time_series_id> |
<point> |
<id>0</id> |
<specification>0</specification> |
<x>-13.7246</x> |
<y>98.0547</y> |
<z>-366.6</z> |
</point> |
<point> |
<id>1</id> |
<specification>0</specification> |
<x>-26.4414</x> |
<y>92.8184</y> |
<z>-366.6</z> |
</point> |
<point> |
<id>2</id> |
<specification>0</specification> |
<x>10.9609</x> |
<y>106.283</y> |
<z>-362.6</z> |
</point> |
<point> |
<id>3</id> |
<specification>0</specification> |
<x>35.6465</x> |
<y>127.977</y> |
<z>-314.6</z> |
</point> |
</time_series> |
</point_set> |
</point_set_file> |
-13.7246 98.0547 -366.6 |
-26.4414 92.8184 -366.6 |
10.9609 106.283 -362.6 |
35.6465 127.977 -314.6 |
8.73 11.67 |
10.21 13.65 |
13.09 17.5 |
16.4 21.93 |
199 175 348 |
296 244 360 |
305 206 276 |
299 227 237 |
351 203 153 |
316 228 129 |
190 261 147 |
214 240 207 |
250 220 301 |
250 228 320 |
255 222 330 |
257 223 347 |
248 229 317 |
329 245 319 |
220 177 343 |
299 188 380 |
303 217 378 |
259 188 378 |
262 209 378 |
264 211 366 |
303 218 366 |
310 225 381 |
304 202 391 |
299 219 391 |
258 261 425 |
249 258 403 |
244 259 391 |
285 175 374 |
396 225 336 |
293 227 272 |
299 247 222 |
189 286 173 |
183 193 115 |
323 186 115 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
<point_set_file> |
<file_version>0.1</file_version> |
<point_set> |
<time_series> |
<time_series_id>0</time_series_id> |
<point> |
<id>0</id> |
<specification>0</specification> |
<x>-23.9648</x> |
<y>115.629</y> |
<z>-485.6</z> |
</point> |
<point> |
<id>1</id> |
<specification>0</specification> |
<x>42.3438</x> |
CT Lymph Nodes (Roth et al., NIH)
176 chest + abdomen CT scans with manually-traced voxel-wise mediastinal and abdominal lymph node segmentations. The collection underpins the Roth 2014 detection benchmark and Seff 2015 segmentation benchmark, and remains a widely-cited reference for thoracic-abdominal lymph node CADe work.
Dataset Details
| Field | Value |
|---|---|
| Modality | CT |
| Body part | Mediastinum + Abdomen |
| Task | 3D binary segmentation (foreground = lymph nodes) |
| Patients | 176 (90 mediastinal + 86 abdominal) |
| Studies | 176 |
| CT series | 176 |
| SEG series (V5 DICOM-SEG) | 176 (one per patient) |
| NIfTI masks (V4) | 176 (one per patient, in supplementary/MED_ABD_LYMPH_MASKS.zip) |
| Images (slices) | 110,179 CT DICOM slices |
| Annotated nodes | 983 (388 mediastinal + 595 abdominal) |
| Format | DICOM (CT, DICOM-SEG) + NIfTI (legacy masks) |
| License | CC BY 3.0 |
Anatomical Subsets
The collection is partitioned by anatomical region (no ML train/val/test split is prescribed). Patient ID prefix encodes the subset:
| Subset | Patients | Annotated nodes | Measurement convention |
|---|---|---|---|
MED_LYMPH_* |
90 | 388 | Shortest axis only (RECIST) |
ABD_LYMPH_* |
86 | 595 | Longest + shortest axis (axial view) |
Mask Sources
The collection ships three companion annotation archives. MASKS is the
recommended ground truth; the other two are pre-existing detector inputs from
the original CADe pipeline and are retained here for reproducibility.
| Source | Role | Path on HF |
|---|---|---|
| DICOM-SEG (V5, 2023-03-31) ★ | Recommended GT — per-patient binary lymph-node masks, aligned to source CT via per-frame DerivationImageSequence. |
segmentations/<PatientID>/<StudyInstanceUID>/<SeriesInstanceUID>/*.dcm |
| NIfTI masks (V4, 2015-12-14) | Same voxel-wise GT as DICOM-SEG, expressed in NIfTI. | supplementary/MED_ABD_LYMPH_MASKS.zip |
| Annotations (centroids) | Lymph-node centroid points and RECIST size measurements (.mps, .txt). |
supplementary/MED_ABD_LYMPH_ANNOTATIONS.zip |
| Candidates (CADe detections) | Computer-generated positive/negative candidate lists from Cherry/Liu SPIE 2014 — detector proposals, not ground truth. | supplementary/MED_ABD_LYMPH_CANDIDATES.zip |
Recommended GT: DICOM-SEG masks (V5). TCIA wiki explicitly directs citing Seff 2015 (MICCAI 2015, DOI 10.1007/978-3-319-24571-3_7) when using these masks. The DICOM-SEG representation was added in V5 (2023) and aligns to each source CT slice via standard DICOM cross-references. The NIfTI masks (V4) contain the same delineations and are also provided for legacy compatibility.
The TCIA wiki notes the centroid annotations and the masks were produced independently and their indexing is not aligned — a loader that needs both must key on patient ID, not on node index within a patient.
Structure
images/<PatientID>/<StudyInstanceUID>/<SeriesInstanceUID>/*.dcm # CT
segmentations/<PatientID>/<StudyInstanceUID>/<SeriesInstanceUID>/*.dcm # DICOM-SEG
supplementary/MED_ABD_LYMPH_MASKS.zip # NIfTI masks
supplementary/MED_ABD_LYMPH_ANNOTATIONS.zip # centroid .mps files
supplementary/MED_ABD_LYMPH_CANDIDATES.zip # CADe proposals
series_to_patient.json # series-level metadata
PatientID follows the pattern MED_LYMPH_NNN (90 cases) or
ABD_LYMPH_NNN (86 cases). The DICOM-SEG references its source CT via
ReferencedSeriesSequence (top-level CT SeriesInstanceUID) and
PerFrameFunctionalGroupsSequence -> DerivationImageSequence -> SourceImageSequence (per-frame source CT SOPInstanceUID).
series_to_patient.json lists every CT and SEG series with PatientID,
StudyInstanceUID, SeriesInstanceUID, Modality, SeriesDescription,
ImageCount, FileSize, and the on-disk relative path, so loaders can index
patients without crawling the DICOM headers.
Notes for Loaders
- DICOM-SEG -> labelmap: use
pydicom-segordcmqi'ssegimage2itkimagefor an aligned 3D label volume. Alternatively, load the NIfTI fromsupplementary/MED_ABD_LYMPH_MASKS.zipand resample it to the CT grid. - No prescribed split: a single train split covering all 176 patients. Downstream tasks may carve out evaluation patients by patient ID; the anatomical subset (MED vs ABD) is the natural stratification axis.
- Subset detection: the patient-ID prefix (
MED_vsABD_) is the authoritative subset label.
Source
- TCIA collection: https://www.cancerimagingarchive.net/collection/ct-lymph-nodes/
- DOI:
10.7937/K9/TCIA.2015.AQIIDCNM - Released: V5 on 2023-03-31 (DICOM-SEG version of masks added). Fully public, no registration required since 2025-07-07.
Citation
@misc{roth2015ctlymphnodes,
author = {Roth, Holger and Lu, Le and Seff, Ari and Cherry, Kevin M. and
Hoffman, Joanne and Wang, Shijun and Liu, Jiamin and
Turkbey, Evrim and Summers, Ronald M.},
title = {A new 2.5D representation for lymph node detection in CT [Dataset]},
year = {2015},
publisher = {The Cancer Imaging Archive},
doi = {10.7937/K9/TCIA.2015.AQIIDCNM}
}
@inproceedings{roth2014lymphnode,
author = {Roth, Holger R. and Lu, Le and Seff, Ari and Cherry, Kevin M. and
Hoffman, Joanne and Wang, Shijun and Liu, Jiamin and
Turkbey, Evrim and Summers, Ronald M.},
title = {A New {2.5D} Representation for Lymph Node Detection Using
Random Sets of Deep Convolutional Neural Network Observations},
booktitle = {Medical Image Computing and Computer-Assisted Intervention --
{MICCAI} 2014},
pages = {520--527},
year = {2014},
doi = {10.1007/978-3-319-10404-1_65}
}
@inproceedings{seff2015lymphnodemasks,
author = {Seff, Ari and Lu, Le and Barbu, Adrian and Roth, Holger and
Shin, Hoo-Chang and Summers, Ronald M.},
title = {Leveraging Mid-Level Semantic Boundary Cues for Automated
Lymph Node Detection},
booktitle = {Medical Image Computing and Computer-Assisted Intervention --
{MICCAI} 2015},
year = {2015},
doi = {10.1007/978-3-319-24571-3_7}
}
- Downloads last month
- 536