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 18 missing columns ({'18', '14', '11', '12', '20', '19', '15', '5', '10', '9', '4', '17', '6', '8', '13', '7', '3', '16'})

This happened while the json dataset builder was generating data using

hf://datasets/digscom/digs-hq-metadata/oneformer-room-classes.json (at revision d9cfd617c13e160aacd72728412bf66b99e27522)

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
              0: struct<isthing: int64, name: string>
                child 0, isthing: int64
                child 1, name: string
              1: struct<isthing: int64, name: string>
                child 0, isthing: int64
                child 1, name: string
              2: struct<isthing: int64, name: string>
                child 0, isthing: int64
                child 1, name: string
              to
              {'0': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '1': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '2': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '3': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '4': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '5': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '6': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '7': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '8': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '9': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '10': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '11': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '12': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '13': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '14': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '15': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '16': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '17': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '18': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '19': {'isthing': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None)}, '20': {'isthing': Value(dtype='int64', id=None), 'name': 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 18 missing columns ({'18', '14', '11', '12', '20', '19', '15', '5', '10', '9', '4', '17', '6', '8', '13', '7', '3', '16'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/digscom/digs-hq-metadata/oneformer-room-classes.json (at revision d9cfd617c13e160aacd72728412bf66b99e27522)
              
              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.

0
dict
1
dict
2
dict
3
dict
4
dict
5
dict
6
dict
7
dict
8
dict
9
dict
10
dict
11
dict
12
dict
13
dict
14
dict
15
dict
16
dict
17
dict
18
dict
19
dict
20
dict
{ "isthing": 0, "name": "BACKGROUND" }
{ "isthing": 0, "name": "WALL" }
{ "isthing": 1, "name": "ROOM_OPEN" }
{ "isthing": 1, "name": "ROOM_CLOSED" }
{ "isthing": 1, "name": "WINDOW" }
{ "isthing": 1, "name": "DOOR" }
{ "isthing": 1, "name": "STAIR" }
{ "isthing": 1, "name": "ICON_SINK" }
{ "isthing": 1, "name": "ICON_TOILET" }
{ "isthing": 1, "name": "ICON_CHAIR" }
{ "isthing": 1, "name": "ICON_WASHER_DRYER" }
{ "isthing": 1, "name": "ICON_SHOWER" }
{ "isthing": 1, "name": "ICON_TABLE" }
{ "isthing": 1, "name": "ICON_BATHTUB" }
{ "isthing": 1, "name": "ICON_OVEN_STOVE" }
{ "isthing": 1, "name": "ICON_REFRIGERATOR" }
{ "isthing": 1, "name": "ICON_SOFA" }
{ "isthing": 1, "name": "ICON_BEDSIDE_TABLE" }
{ "isthing": 1, "name": "ICON_CHIMNEY" }
{ "isthing": 1, "name": "ICON_BED" }
{ "isthing": 1, "name": "ICON_TV" }
{ "isthing": 0, "name": "background" }
{ "isthing": 1, "name": "closed room" }
{ "isthing": 1, "name": "open room" }
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
{ "isthing": 0, "name": "background" }
{ "isthing": 1, "name": "room" }
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null

No dataset card yet

Downloads last month
14