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 CNNBiasDataset_E4@07e5da54b1d0d6df8b8234d943efc68f37552500
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 2543, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2092, in _iter_arrow
                  pa_table = cast_table_to_features(pa_table, self.features)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2197, in cast_table_to_features
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1995, in cast_array_to_feature
                  return feature.cast_storage(array)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1169, in cast_storage
                  [self._strval2int(label) if label is not None else None for label in storage.to_pylist()]
                   ^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1098, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label CNNBiasDataset_E4@07e5da54b1d0d6df8b8234d943efc68f37552500

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.

CNNBiasDataset

This dataset contains images of 5 different objects, which are used to quantify the bias that certain CNNs may have.
It was created by Eder Martinez, a student volunteer at Kansas State University.

Contents

Formatted in JPG.
Three main experiments were performed in controlled conditions, from which 5 crops were created.
The "Original Image" folder contains the unedited 720x480 images, while the "Cropped" folder contains the cropped versions used in our paper and the 224px images needed.

Purpose

This dataset was created to support research on CNN biases.
Please use it for academic, educational, or other purposes while respecting the license terms and giving proper credit.

License

This dataset is released under the Creative Commons Attribution 4.0 International (CC-BY 4.0) license.
You may use, share, and adapt the data for any purpose, including commercial use, as long as you provide proper attribution :).

Attribution

When using this dataset, please cite:

Eder Martinez, CNN Bias Dataset (2025). Available at https://huggingface.co/datasets/EderMartinez/CNNBiasDataset

Example citation:

Eder Martinez. CNN Bias Dataset. (2025). CC-BY 4.0. https://huggingface.co/datasets/EderMartinez/CNNBiasDataset.

Acknowledgments

Created as a student volunteer at Kansas State University.
Thanks to Dr. Lior Shamir for the opportunity and guidance, Michael Okonda for guidance, and the faculty and people who provided support and the facilities to perform the experiments.

Praise and glory to God in everything I do.

Contact

For questions, please contact: ederfelipemartinez@gmail.com

Downloads last month
7