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:    CastError
Message:      Couldn't cast
source_path: string
pro_id: int64
player: string
view: string
fps: double
frame_count: int64
feature_count: int64
milestones: struct<Address: struct<frame: int64>, Toe-Up: struct<frame: int64>, Mid-Backswing: struct<frame: int (... 183 chars omitted)
  child 0, Address: struct<frame: int64>
      child 0, frame: int64
  child 1, Toe-Up: struct<frame: int64>
      child 0, frame: int64
  child 2, Mid-Backswing: struct<frame: int64>
      child 0, frame: int64
  child 3, Top of Backswing: struct<frame: int64>
      child 0, frame: int64
  child 4, Mid-Downswing: struct<frame: int64>
      child 0, frame: int64
  child 5, Impact: struct<frame: int64>
      child 0, frame: int64
  child 6, Mid-Follow-Through: struct<frame: int64>
      child 0, frame: int64
  child 7, Finish: struct<frame: int64>
      child 0, frame: int64
pipeline_version: int64
source_filename: string
source_sha256: string
model_sha256: string
kinematic_schema_sha256: string
kinematic_config_sha256: string
total_pro: int64
total_user: int64
user_videos: list<item: struct<filename: string, path: string, expected_view: string, expected_handedness: string (... 2 chars omitted)
  child 0, item: struct<filename: string, path: string, expected_view: string, expected_handedness: string>
      child 0, filename: string
      child 1, path: string
      child 2, expected_view: string
      child 3, expected_handedness: string
pro_videos: list<item: struct<id: int64, filename: string, player: string, sex: string, club: string, view: stri (... 18 chars omitted)
  child 0, item: struct<id: int64, filename: string, player: string, sex: string, club: string, view: string, path: s (... 6 chars omitted)
      child 0, id: int64
      child 1, filename: string
      child 2, player: string
      child 3, sex: string
      child 4, club: string
      child 5, view: string
      child 6, path: string
to
{'pro_videos': List({'id': Value('int64'), 'filename': Value('string'), 'player': Value('string'), 'sex': Value('string'), 'club': Value('string'), 'view': Value('string'), 'path': Value('string')}), 'user_videos': List({'filename': Value('string'), 'path': Value('string'), 'expected_view': Value('string'), 'expected_handedness': Value('string')}), 'total_pro': Value('int64'), 'total_user': Value('int64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                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 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              source_path: string
              pro_id: int64
              player: string
              view: string
              fps: double
              frame_count: int64
              feature_count: int64
              milestones: struct<Address: struct<frame: int64>, Toe-Up: struct<frame: int64>, Mid-Backswing: struct<frame: int (... 183 chars omitted)
                child 0, Address: struct<frame: int64>
                    child 0, frame: int64
                child 1, Toe-Up: struct<frame: int64>
                    child 0, frame: int64
                child 2, Mid-Backswing: struct<frame: int64>
                    child 0, frame: int64
                child 3, Top of Backswing: struct<frame: int64>
                    child 0, frame: int64
                child 4, Mid-Downswing: struct<frame: int64>
                    child 0, frame: int64
                child 5, Impact: struct<frame: int64>
                    child 0, frame: int64
                child 6, Mid-Follow-Through: struct<frame: int64>
                    child 0, frame: int64
                child 7, Finish: struct<frame: int64>
                    child 0, frame: int64
              pipeline_version: int64
              source_filename: string
              source_sha256: string
              model_sha256: string
              kinematic_schema_sha256: string
              kinematic_config_sha256: string
              total_pro: int64
              total_user: int64
              user_videos: list<item: struct<filename: string, path: string, expected_view: string, expected_handedness: string (... 2 chars omitted)
                child 0, item: struct<filename: string, path: string, expected_view: string, expected_handedness: string>
                    child 0, filename: string
                    child 1, path: string
                    child 2, expected_view: string
                    child 3, expected_handedness: string
              pro_videos: list<item: struct<id: int64, filename: string, player: string, sex: string, club: string, view: stri (... 18 chars omitted)
                child 0, item: struct<id: int64, filename: string, player: string, sex: string, club: string, view: string, path: s (... 6 chars omitted)
                    child 0, id: int64
                    child 1, filename: string
                    child 2, player: string
                    child 3, sex: string
                    child 4, club: string
                    child 5, view: string
                    child 6, path: string
              to
              {'pro_videos': List({'id': Value('int64'), 'filename': Value('string'), 'player': Value('string'), 'sex': Value('string'), 'club': Value('string'), 'view': Value('string'), 'path': Value('string')}), 'user_videos': List({'filename': Value('string'), 'path': Value('string'), 'expected_view': Value('string'), 'expected_handedness': Value('string')}), 'total_pro': Value('int64'), 'total_user': Value('int64')}
              because column names don't match

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.

No dataset card yet

Downloads last month
72

Space using sagsan/golf-swing-analyzer-dataset 1