Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 2 new columns ({" 'label': 1}", "{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>"}) and 2 missing columns ({"{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461AC8B0>", " 'label': 0}"}).

This happened while the csv dataset builder was generating data using

hf://datasets/passionMan/mnist_by_class/mnist/train/1.csv (at revision c7ea17ce96e0ecd45dcbba65bb235323f70ed792)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              {'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>: string
               'label': 1}: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 656
              to
              {"{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461AC8B0>": Value(dtype='string', id=None), " 'label': 0}": Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 2 new columns ({" 'label': 1}", "{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>"}) and 2 missing columns ({"{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461AC8B0>", " 'label': 0}"}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/passionMan/mnist_by_class/mnist/train/1.csv (at revision c7ea17ce96e0ecd45dcbba65bb235323f70ed792)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461AC8B0>
string
'label': 0}
string
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461ACBB0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461ACC10>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461ACA30>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461AC8B0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461ACBB0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461ACC10>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8486603D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461ACC10>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8486608B0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8461ACC10>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8496ED460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB848660730>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB848660DC0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB8327369D0>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736460>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736370>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736B80>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736490>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736640>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736070>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736610>
'label': 0}
{'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x7FB832736880>
'label': 0}
End of preview.

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
8