BRISC: Annotated Dataset for Brain Tumor Segmentation and Classification
Paper • 2506.14318 • Published • 1
Error code: StreamingRowsError
Exception: ValueError
Message: Invalid string class label W-PVLMedSeg-Datasets@0692d803f5432b570839b1703ac9434e8de15d55
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
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 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2240, in __iter__
example = _apply_feature_types_on_example(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2157, in _apply_feature_types_on_example
encoded_example = features.encode_example(example)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 2152, in encode_example
return encode_nested_example(self, example)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1437, in encode_nested_example
{k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1460, in encode_nested_example
return schema.encode_example(obj) if obj is not None else None
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1143, in encode_example
example_data = self.str2int(example_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1080, in str2int
output = [self._strval2int(value) for value in values]
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1101, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label W-PVLMedSeg-Datasets@0692d803f5432b570839b1703ac9434e8de15d55Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This dataset repository contains the biomedical image segmentation datasets used by W-PVLMedSeg, packaged as one zip archive per dataset. The archive contents preserve the project layout:
<DATASET>/
Prompts_Folder/
Train_Folder/
img/
label/
Val_Folder/
img/
label/
Test_Folder/
img/
label/
Download all archives with:
huggingface-cli download DanRuguo/W-PVLMedSeg-Datasets --repo-type dataset --local-dir data_zips
Then unzip each archive into the project data/ directory so paths such as
data/BUSI/Train_Folder/ are available to the training configs.
manifest.json| Dataset | Modality | Organ | Files | Zip | Source |
|---|---|---|---|---|---|
BKAI |
Endoscopy | Colon | 2005 | 1.36 GB | source |
BRISC |
MRI | Brain | 12007 | 783.04 MB | source |
BTMRI |
MRI | Brain | 10141 | 582.86 MB | source |
BUID |
Ultrasound | Breast | 471 | 57.27 MB | source |
BUSBRA |
Ultrasound | Breast | 3757 | 127.72 MB | source |
BUSI |
Ultrasound | Breast | 1573 | 160.19 MB | source |
BUSUC |
Ultrasound | Breast | 1629 | 46.81 MB | source |
ClinicDB |
Endoscopy | Colon | 1231 | 52.69 MB | source |
ColonDB |
Endoscopy | Colon | 767 | 91.41 MB | source |
Covid19 |
X-ray | Chest | 18525 | 209.87 MB | source |
CVC300 |
Endoscopy | Colon | 139 | 16.51 MB | source |
EUS |
Ultrasound | Pancreas | 76341 | 4.58 GB | source |
ISIC |
Dermatoscopy | Skin | 2569 | 2.65 GB | source |
Kvasir |
Endoscopy | Colon | 2013 | 339.57 MB | source |
UDIAT |
Ultrasound | Breast | 333 | 19.40 MB | source |
UWaterlooSkinCancer |
Dermatoscopy | Skin | 454 | 213.18 MB | source |
These archives aggregate public research datasets and prompt files used for W-PVLMedSeg experiments. Please review and follow the license and usage terms of each original dataset source before redistribution, clinical use, or commercial use.