The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Missing a name for object member. in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 342, in _generate_tables
df = pandas_read_json(f)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1391, in _parse
self.obj = DataFrame(
~~~~~~~~~^
ujson_loads(json, precise_float=self.precise_float), dtype=None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/pandas/core/frame.py", line 782, in __init__
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
index = _extract_index(arrays)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 677, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4645, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2866, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3073, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2581, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 345, in _generate_tables
raise e
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 291, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Missing a name for object member. in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
RepConTUR AbdomenAtlas Annotations
Official annotations for "RepConTUR: A Report-Conditioned Volumetric Multimodal Model for Abdominal Tumor Segmentation".
This dataset extends AbdomenAtlas 3.0 Mini to suborgan-level promptable tumor segmentation and report-derived visual question answering. It holds annotations only: the CT volumes and the original masks must be downloaded from AbdomenAtlas 3.0 Mini.
- Code: https://github.com/Oncosoft-Research/RepConTUR
- Model: https://huggingface.co/Oncosoft-Research/RepConTUR
Contents
annotations.json covers the 3,798 AbdomenAtlas 3.0 Mini CT volumes that contain a liver, kidney or pancreas tumor.
| Count | |
|---|---|
| CT volumes | 3,798 (3,425 train, 373 test) |
| Tumor masks | 13,469 (4,843 whole-organ, 8,626 suborgan) |
| Referring phrases | 10 per mask |
| VQA pairs | 71,783 (48,451 yes/no, 13,433 short answer, 9,899 multiple choice) |
Each mask targets one location:
| Organ | Whole organ | Suborgan |
|---|---|---|
| Liver | all liver | hepatic segments 1–8 (Couinaud) |
| Kidney | all kidney | the left kidney, the right kidney |
| Pancreas | all pancreatic | the pancreatic head, body, tail |
The four tasks of the paper use these annotations as follows:
| Task | Input | Target |
|---|---|---|
| Referring segmentation (RES) | CT + a referring phrase | the tumor mask |
| Report-grounded segmentation (GSEG) | CT + narrative report + a referring phrase | the tumor mask |
| Report generation (RRG) | CT | the narrative report |
| Visual question answering (VQA) | CT + a question | the answer |
Format
annotations.json follows a COCO-like layout:
info {description, min_lesion_size}
categories [{id: 1, name: liver_lesion}, {id: 2, name: kidney_lesion}, {id: 3, name: pancreatic_lesion}]
images[] id, bdmap_id, split (train | test), file_name (image_only/<bdmap_id>/ct.nii.gz),
demographics {sex, age, contrast}, reports {structured_report, narrative_report},
vqa[] {id, question, answer, type, options (multiple choice only)}
annotations[] id, image_id, category_id, location, size_voxels,
source_mask (mask_only/<bdmap_id>/segmentations/<organ>_lesion.nii.gz),
rle_per_slice[] (one COCO RLE per axial slice), sentences[] {sentence}
All paths are relative to the AbdomenAtlas 3.0 Mini root. contrast is null when the phase is not recorded.
Each mask is stored as one COCO RLE per axial slice. It decodes to a (W, H, D) binary volume on the voxel grid of
the volume's ct.nii.gz, in the same orientation as the NIfTI data array:
import json
import nibabel as nib
from pycocotools import mask as mask_utils
dataset = json.load(open('annotations.json'))
images = {image['id']: image for image in dataset['images']}
annotation = dataset['annotations'][0]
image = images[annotation['image_id']]
tumor_mask = mask_utils.decode(annotation['rle_per_slice']) # (W, H, D) uint8
ct = nib.load(f'AbdomenAtlas3.0Mini/{image["file_name"]}').get_fdata() # same shape
print(annotation['location'], annotation['sentences'][0]['sentence'])
Use with the RepConTUR code
Place the AbdomenAtlas 3.0 Mini volumes and masks under data/abdomen_atlas/{image_only,mask_only} in the code
repository, then:
hf download Oncosoft-Research/RepConTUR annotations.json --repo-type dataset --local-dir data/abdomen_atlas
The training configs read data/abdomen_atlas/annotations.json. The repository also contains the scripts that rebuild
this file from AbdomenAtlas 3.0 Mini (suborgan_assignment, then vqa_generation).
How it was built
- Suborgan masks. Each whole-organ tumor mask is split into connected components, and each component is scored against the AbdomenAtlas suborgan masks (liver Couinaud segments, left or right kidney, pancreatic head, body or tail) by intersection over component (IoC) and surface distance. Each suborgan the structured report names takes as many components as the report counts there, best-ranked first. Every remaining component goes to its highest-IoC suborgan and to any other suborgan it overlaps by IoC ≥ 0.2, or to the nearest suborgan if it overlaps none. A component can therefore belong to two adjacent suborgans. The components in one suborgan are merged into one mask.
- Referring phrases. Ten phrasings per mask are drawn from templates for the organ and location.
- VQA. Question–answer pairs are generated from the structured and narrative reports by a language model and checked by a second language model.
- Reports. The structured and narrative reports are those of AbdomenAtlas 3.0. They are synthetic, produced by the RadGPT pipeline, not written by radiologists.
Limitations
- The reports are synthetic. They often give the largest tumor and the tumor count rather than every tumor's location.
- The released file is regenerated with the current scripts and differs slightly from the data the released model was trained on: that run had 8,354 suborgan masks, and its RRG and VQA tasks also used training volumes without a tumor.
- Research use only. Not for clinical decisions.
License
The annotations adapt AbdomenAtlas 3.0 Mini (reports and tumor masks) and are released under the same CC BY-NC-SA 4.0 license: attribution, non-commercial use only, and adaptations under the same license. Cite AbdomenAtlas 3.0 and RadGPT when you use this dataset, as well as:
@article{lee2026repcontur,
title = {RepConTUR: A Report-Conditioned Volumetric Multimodal Model for Abdominal Tumor Segmentation},
author = {Lee, Seunghwan and Park, Sangjoon and Lee, Jongmin and Kim, Yoon Jo and Cho, Wonyoung and Kim, Jin Sung and Chae, Han Joo},
year = {2026}
}
- Downloads last month
- -