Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code: ConfigNamesError
Exception: RuntimeError
Message: Dataset scripts are no longer supported, but found RSNA_23_256x256_ROI_PNG.py
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
config_names = get_dataset_config_names(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1031, in dataset_module_factory
raise e1 from None
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 989, in dataset_module_factory
raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
RuntimeError: Dataset scripts are no longer supported, but found RSNA_23_256x256_ROI_PNG.pyNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
RSNA 2023 Abdominal Trauma Detection
This dataset is a preprocessed version of the RSNA 2023 Abdominal Trauma Detection training set.
Each DICOM scan has been converted into 96 PNG slices of fixed size 256×256:
- Scans with fewer slices were upsampled.
- Scans with more slices were downsampled.
The dataset is organized into 5 folds for cross-validation.
Contents
arrow_cache/: Arrow cache of training/validation set (fold 1).fold_*.tar: Preprocessed images grouped by patient/series/organ.RSNA_23_256x256_ROI_PNG.py: Dataset loading script for Hugging Facedatasets.
Usage
from datasets import load_dataset
# Load Fold 1
ds = load_dataset(
"Morris-is-taken/RSNA_23_256x256_ROI_PNG",
name="fold1",
trust_remote_code=True
)
print(ds["train"])
# Dataset({
# features: ['patient_id', 'series_id', 'organs', 'image', 'img_idx'],
# num_rows: 992468
# })
print(ds["validation"])
# Dataset({
# features: ['patient_id', 'series_id', 'organs', 'image', 'img_idx'],
# num_rows: 248117
# })
Dataset features
patient_id: Unique identifier for each patient.series_id: Identifier for the scanning series. A patient may have one or more series.organs: Target region of interest- 0: Full image
- 1: Kidney
- 2: Liver
- 3: Spleen
image: A PIL Image object representing the slice.img_idx: Index of the slice within the series.
Requirement
pip install datasets==3.6.0
- Downloads last month
- 42