Dataset Preview
Duplicate
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 6 new columns ({'id', 'metadata', 'gt_video_path', 'prompt', 'task_type', 'image_path'}) and 1 missing columns ({'episodes'}).

This happened while the json dataset builder was generating data using

hf://datasets/YF0224/demo/testcases/epic_kitchen_100/epic-kitchens-100_test.json (at revision af6adf7768d288daf051edafb06f234ef533b52b)

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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: string
              task_type: string
              image_path: string
              prompt: string
              gt_video_path: string
              metadata: struct<all_noun_classes: list<item: int64>, all_nouns: list<item: string>, noun: string, noun_class: (... 121 chars omitted)
                child 0, all_noun_classes: list<item: int64>
                    child 0, item: int64
                child 1, all_nouns: list<item: string>
                    child 0, item: string
                child 2, noun: string
                child 3, noun_class: int64
                child 4, participant_id: string
                child 5, start_frame: int64
                child 6, stop_frame: int64
                child 7, verb: string
                child 8, verb_class: int64
                child 9, video_id: string
              -- schema metadata --
              pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 815
              to
              {'episodes': List({'episode_id': Value('int64'), 'trajectory_id': Value('int64'), 'scene_id': Value('string'), 'start_position': List(Value('float64')), 'start_rotation': List(Value('float64')), 'info': {'geodesic_distance': Value('float64')}, 'goals': List({'position': List(Value('float64')), 'radius': Value('float64')}), 'instruction': {'instruction_text': Value('string'), 'instruction_tokens': List(Value('int64'))}, 'reference_path': List(List(Value('float64')))})}
              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 1339, 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 972, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, 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 6 new columns ({'id', 'metadata', 'gt_video_path', 'prompt', 'task_type', 'image_path'}) and 1 missing columns ({'episodes'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/YF0224/demo/testcases/epic_kitchen_100/epic-kitchens-100_test.json (at revision af6adf7768d288daf051edafb06f234ef533b52b)
              
              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.

episodes
list
[ { "episode_id": 1, "trajectory_id": 37, "scene_id": "mp3d/s8pcmisQ38h/s8pcmisQ38h.glb", "start_position": [ 5.582849979400635, -1.6265579462051392, 2.817889928817749 ], "start_rotation": [ 0, 0.9659258262890683, 0, -0.25881904510252063 ], "in...
[ { "episode_id": 1, "trajectory_id": 15, "scene_id": "mp3d/zsNo4HB9uLZ/zsNo4HB9uLZ.glb", "start_position": [ 15.068599700927734, 0.17162801325321198, -4.4848198890686035 ], "start_rotation": [ 0, 0.49999999999999983, 0, 0.8660254037844387 ], "...

submit some test_case for evaluating.

Downloads last month
3