Dataset Viewer
Duplicate
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:    ValueError
Message:      Invalid string class label MedDPCR-Seg@bee125637e713abed449a98c5ae63f906e3b9841
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 544, 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 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2572, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2489, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2244, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1518, 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.14/site-packages/datasets/features/features.py", line 1541, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1210, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1147, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label MedDPCR-Seg@bee125637e713abed449a98c5ae63f906e3b9841

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

MedDPCR-Seg

This collection brings together nine datasets for text-guided segmentation of breast lesions, brain tumors, and skin lesions. Each ZIP contains PNG images, segmentation masks, and spreadsheets with English text prompts.

Datasets and downloads

The split counts are the numbers of PNG images in each archive. UWaterlooSkinCancer has training and test images only.

Dataset Modality Anatomy Train Validation Test Download Original source
BUSI Ultrasound Breast 624 78 78 ZIP Al-Dhabyani et al.
BUSBRA Ultrasound Breast 1,311 282 282 ZIP Gomez-Flores, Gregorio-Calas and de Albuquerque Pereira
BUSUC Ultrasound Breast 567 122 122 ZIP Ahmed Iqbal; cite Iqbal and Sharif (2023)
BUID Ultrasound Breast 162 35 35 ZIP QAMEBI
UDIAT Ultrasound Breast 113 25 25 ZIP Dataset B
BTMRI MRI Brain 2,738 1,321 1,005 ZIP Jun Cheng
BRISC MRI Brain 4,000 1,000 1,000 ZIP BRISC dataset authors
ISIC Dermoscopy Skin 809 90 379 ZIP ISIC Challenge
UWaterlooSkinCancer Skin photography Skin 132 0 41 ZIP University of Waterloo

File layout

Extract each ZIP into a common data/ directory. The archive already contains its dataset folder. For example, extracting BUSI.zip creates the following layout:

data/BUSI/
    Train_Folder/
        img/
        label/
    Val_Folder/
        img/
        label/
    Test_Folder/
        img/
        label/
    Prompts_Folder/
        Train_text.xlsx
        Val_text.xlsx
        Test_text_original.xlsx
        ...

Using the text prompts

Choose the workbook for the desired split. Each row gives the image filename (Image), its English prompt (Description), and the mask filename (Ground Truth). Look up the image under img/ and the mask under label/ in that split. For example, the BUSI test workbook pairs Test_Folder/img/102_malignant.png with Test_Folder/label/102_malignant.png.

Use Test_text_original.xlsx for the standard test descriptions. Other test workbooks provide variants, including descriptions with the location omitted. Some datasets also include prompt lists for 10%, 25%, and 50% subsets of the training and validation splits.

Downloads last month
43