LaViDa-1.0
Collection
LArge VIsion-language Diffusion moDel with mAsking
•
9 items
•
Updated
•
4
Error code: DatasetGenerationError Exception: TypeError Message: Couldn't cast array of type struct<questionId: int64, question: string, answer_type: list<item: string>, evidence: list<item: string>, operation/reasoning: list<item: string>, image_local_name: string, image_url: string, ocr_output_file: string, answers: list<item: string>, data_split: string> to {'questionId': Value(dtype='int64', id=None), 'question': Value(dtype='string', id=None), 'image_local_name': Value(dtype='string', id=None), 'image_url': Value(dtype='string', id=None), 'ocr_output_file': Value(dtype='string', id=None), 'answers': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'data_split': Value(dtype='string', id=None)} Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, 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 2293, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2246, in cast_table_to_schema arrays = [ File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2247, in <listcomp> cast_array_to_feature( 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<questionId: int64, question: string, answer_type: list<item: string>, evidence: list<item: string>, operation/reasoning: list<item: string>, image_local_name: string, image_url: string, ocr_output_file: string, answers: list<item: string>, data_split: string> to {'questionId': Value(dtype='int64', id=None), 'question': Value(dtype='string', id=None), 'image_local_name': Value(dtype='string', id=None), 'image_url': Value(dtype='string', id=None), 'ocr_output_file': Value(dtype='string', id=None), 'answers': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'data_split': Value(dtype='string', id=None)} 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 1428, 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 989, in stream_convert_to_parquet builder._prepare_split( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, 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 1898, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
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.
dataset_name
string | dataset_version
string | dataset_split
string | data
list |
---|---|---|---|
InfographicsVQA | 1.0 | train | [{"questionId":65718,"question":"Which type of fonts offer better readability in printed works?","im(...TRUNCATED) |
No dataset card yet