Dataset Viewer
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:    TypeError
Message:      Couldn't cast array of type
struct<errors: list<item: string>, item: struct<base_image: struct<caption: string, gpt4o_caption: string, org_path: string, path: string>, layers_all: list<item: struct<box: list<item: int64>, caption: string, gpt4o_caption: string, height_dst: int64, mask_area: int64, org_caption: string, org_path_rgba: string, path_rgba: string, scale: double, width_dst: int64>>, poster_index: string, whole_image: struct<caption: string, gpt4o_caption: string, org_path: string, path: string>>, poster_index: string>
to
{'base_image': {'caption': Value(dtype='string', id=None), 'gpt4o_caption': Value(dtype='string', id=None), 'org_path': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None)}, 'layers_all': [{'box': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'caption': Value(dtype='string', id=None), 'gpt4o_caption': Value(dtype='string', id=None), 'height_dst': Value(dtype='int64', id=None), 'mask_area': Value(dtype='int64', id=None), 'org_caption': Value(dtype='string', id=None), 'org_path_rgba': Value(dtype='string', id=None), 'path_rgba': Value(dtype='string', id=None), 'scale': Value(dtype='float64', id=None), 'width_dst': Value(dtype='int64', id=None)}], 'poster_index': Value(dtype='string', id=None), 'whole_image': {'caption': Value(dtype='string', id=None), 'org_path': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None)}}
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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2285, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1856, in __iter__
                  for key, pa_table in self._iter_arrow():
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1888, in _iter_arrow
                  pa_table = cast_table_to_features(pa_table, self.features)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2220, in cast_table_to_features
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2220, in <listcomp>
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1796, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1796, in <listcomp>
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2014, in cast_array_to_feature
                  casted_array_values = _c(array.values, feature[0])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1798, in wrapper
                  return func(array, *args, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2109, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<errors: list<item: string>, item: struct<base_image: struct<caption: string, gpt4o_caption: string, org_path: string, path: string>, layers_all: list<item: struct<box: list<item: int64>, caption: string, gpt4o_caption: string, height_dst: int64, mask_area: int64, org_caption: string, org_path_rgba: string, path_rgba: string, scale: double, width_dst: int64>>, poster_index: string, whole_image: struct<caption: string, gpt4o_caption: string, org_path: string, path: string>>, poster_index: string>
              to
              {'base_image': {'caption': Value(dtype='string', id=None), 'gpt4o_caption': Value(dtype='string', id=None), 'org_path': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None)}, 'layers_all': [{'box': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'caption': Value(dtype='string', id=None), 'gpt4o_caption': Value(dtype='string', id=None), 'height_dst': Value(dtype='int64', id=None), 'mask_area': Value(dtype='int64', id=None), 'org_caption': Value(dtype='string', id=None), 'org_path_rgba': Value(dtype='string', id=None), 'path_rgba': Value(dtype='string', id=None), 'scale': Value(dtype='float64', id=None), 'width_dst': Value(dtype='int64', id=None)}], 'poster_index': Value(dtype='string', id=None), 'whole_image': {'caption': Value(dtype='string', id=None), 'org_path': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None)}}

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
15