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 data
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 data

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.

Saliency-Bench

Saliency-Bench is a benchmark release for evaluating visual explanations. This Hugging Face repository mirrors the official dataset zip packages and related project assets from the Saliency-Bench release.

Links

Downloads

Dataset File
Gender-XAI data/Gender-XAI.zip
Scene-XAI data/Scene-XAI.zip
Glasses-XAI data/Glasses-XAI.zip
Prohibited-XAI data/Prohibited-XAI.zip
Nodule-XAI data/Nodule-XAI.zip
Tumor-XAI data/Tumor-XAI.zip
Cat&Dog-XAI data/Cat&Dog-XAI.zip
Object-XAI data/Object-XAI.zip

Included Assets

  • Official dataset zip packages under data/
  • Project quickstart notebook under project/quickstart.ipynb
  • Project README under project/README.md

Notes

  • This repository mirrors the official released zip packages for easier downloading and sharing.
  • Please comply with the license terms of the original source datasets in addition to the Saliency-Bench release terms.
  • If you use Saliency-Bench in your research, please cite the KDD 2025 paper below.

Citation

@inproceedings{zhang2025saliency,
  title={Saliency-bench: A comprehensive benchmark for evaluating visual explanations},
  author={Zhang, Yifei and Song, James and Gu, Siyi and Jiang, Tianxu and Pan, Bo and Bai, Guangji and Zhao, Liang},
  booktitle={Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2},
  pages={5924--5935},
  year={2025}
}
Downloads last month
9