brandonRafael/outfit-ai
Image Classification
•
Updated
•
1
Error code: DatasetGenerationError
Exception: ArrowNotImplementedError
Message: Cannot write struct type 'info' with no child field to Parquet. Consider adding a dummy child field.
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 578, in write_table
self._build_writer(inferred_schema=pa_table.schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 399, in _build_writer
self.pa_writer = self._WRITER_CLASS(self.stream, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__
self.writer = _parquet.ParquetWriter(
File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'info' with no child field to Parquet. Consider adding a dummy child field.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1885, in _prepare_split_single
num_examples, num_bytes = writer.finalize()
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 597, in finalize
self._build_writer(self.schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 399, in _build_writer
self.pa_writer = self._WRITER_CLASS(self.stream, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__
self.writer = _parquet.ParquetWriter(
File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'info' with no child field to Parquet. Consider adding a dummy child field.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1387, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in stream_convert_to_parquet
builder._prepare_split(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1740, 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 1896, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
info
dict | licenses
sequence | images
list | annotations
list | categories
list |
|---|---|---|---|---|
{}
|
[] | [{"width":468,"date_captured":"","license":0,"flickr_url":"","file_name":"000001.jpg","id":1,"coco_u(...TRUNCATED)
|
[] | [{"supercategory":"clothes","skeleton":[],"id":1,"keypoints":["1","2","3","4","5","6","7","8","9","1(...TRUNCATED)
|
{}
|
[] | [{"width":468,"date_captured":"","license":0,"flickr_url":"","file_name":"000001.jpg","id":1,"coco_u(...TRUNCATED)
| [{"image_id":1,"segmentation":[],"num_keypoints":7,"bbox":[204,189,89,225],"area":20025,"category_id(...TRUNCATED)
| [{"supercategory":"clothes","skeleton":[],"id":1,"keypoints":["1","2","3","4","5","6","7","8","9","1(...TRUNCATED)
|
{}
|
[] | [{"width":468,"date_captured":"","license":0,"flickr_url":"","file_name":"000001.jpg","id":1,"coco_u(...TRUNCATED)
| [{"image_id":1,"segmentation":[],"num_keypoints":10,"bbox":[204,189,89,225],"area":20025,"category_i(...TRUNCATED)
| [{"supercategory":"clothes","skeleton":[],"id":1,"keypoints":["1","2","3","4","5","6","7","8","9","1(...TRUNCATED)
|
{}
|
[] | [{"width":468,"date_captured":"","license":0,"flickr_url":"","file_name":"000001.jpg","id":1,"coco_u(...TRUNCATED)
|
[] | [{"supercategory":"clothes","skeleton":[],"id":1,"keypoints":["1","2","3","4","5","6","7","8","9","1(...TRUNCATED)
|
{}
|
[] | [{"width":640,"date_captured":"","license":0,"flickr_url":"","file_name":"010845.jpg","id":10845,"co(...TRUNCATED)
|
[] | [{"supercategory":"clothes","skeleton":[],"id":1,"keypoints":["1","2","3","4","5","6","7","8","9","1(...TRUNCATED)
|
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |
null | null | null | null | null |