Datasets:
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
image: struct<bytes: binary, path: string>
child 0, bytes: binary
child 1, path: string
question: string
choices: list<element: string>
child 0, element: string
answer: string
question_type: string
metadata: struct<content_type: string, correct_text: string, is_abnormal: bool, location: string, modality: st (... 45 chars omitted)
child 0, content_type: string
child 1, correct_text: string
child 2, is_abnormal: bool
child 3, location: string
child 4, modality: string
child 5, pathology: string
child 6, question_id: string
-- schema metadata --
huggingface: '{"info": {"features": {"image": {"_type": "Image"}, "questi' + 614
to
{'image': Image(mode=None, decode=True), 'question': Value('string'), 'answer': Value('string'), 'question_type': Value('string'), 'content_type': Value('string'), 'is_abnormal': Value('bool'), 'location': Value('string'), 'modality': Value('string'), 'pathology': Value('string'), 'question_id': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, 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/parquet/parquet.py", line 220, in _generate_tables
yield Key(file_idx, batch_idx), self._cast_table(pa_table)
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 156, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
image: struct<bytes: binary, path: string>
child 0, bytes: binary
child 1, path: string
question: string
choices: list<element: string>
child 0, element: string
answer: string
question_type: string
metadata: struct<content_type: string, correct_text: string, is_abnormal: bool, location: string, modality: st (... 45 chars omitted)
child 0, content_type: string
child 1, correct_text: string
child 2, is_abnormal: bool
child 3, location: string
child 4, modality: string
child 5, pathology: string
child 6, question_id: string
-- schema metadata --
huggingface: '{"info": {"features": {"image": {"_type": "Image"}, "questi' + 614
to
{'image': Image(mode=None, decode=True), 'question': Value('string'), 'answer': Value('string'), 'question_type': Value('string'), 'content_type': Value('string'), 'is_abnormal': Value('bool'), 'location': Value('string'), 'modality': Value('string'), 'pathology': Value('string'), 'question_id': Value('string')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
π©Ί RadImageNet VQA 500 Test Subset
This dataset contains a curated 500-example test audit subset for Medical Visual Question Answering based on RadImageNet.
π Dataset Summary
- Total Samples: 500 test VQA pairs
- Modalities: CT, MRI, X-ray (Abdomen, Brain, Chest/Lung, Ankle/Foot, Hip, Knee)
- Question Types: Open-ended & Closed (Yes/No)
- Organization: VQA-DeepLearning
π» Usage
from datasets import load_dataset
dataset = load_dataset("VQA-DeepLearning/radimagenet-vqa-500-test")
print(dataset)
Or load directly with Pandas / PyArrow:
import pandas as pd
df = pd.read_parquet("hf://datasets/VQA-DeepLearning/radimagenet-vqa-500-test/data/test-00000-of-00001.parquet")
print(df.head())
π File Structure
data/test-00000-of-00001.parquet: Parquet file containing 500 test records with embedded images.radimagenet_vqa_500_test_metadata.csv: Metadata CSV reference.
- Downloads last month
- 74