KaiChen1998/geodiffusion-nuimages-512x512
Text-to-Image
•
Updated
•
251
•
1
Error code: DatasetGenerationError Exception: ValueError Message: Not able to read records in the JSON file at /tmp/hf-datasets-cache/heavy/datasets/48045485791543-config-parquet-and-info-KaiChen1998-nuimages-geod-9f070516/downloads/3b9ddea344578f87857c18e8191b62b9616d0f6ce07bff5d39fb46c6749d1638. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['images', 'annotations', 'categories']. Select the correct one and provide it as `field='XXX'` to the dataset loading method. Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1995, in _prepare_split_single for _, table in generator: File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 170, in _generate_tables raise ValueError( ValueError: Not able to read records in the JSON file at /tmp/hf-datasets-cache/heavy/datasets/48045485791543-config-parquet-and-info-KaiChen1998-nuimages-geod-9f070516/downloads/3b9ddea344578f87857c18e8191b62b9616d0f6ce07bff5d39fb46c6749d1638. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['images', 'annotations', 'categories']. Select the correct one and provide it as `field='XXX'` to the dataset loading method. 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 1529, 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 1154, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, 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 2038, 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.
images
list | annotations
list | categories
list |
---|---|---|
[{"id":0,"token":"0001c184bea6429b8372f7ea88e4fe1c","file_name":"samples/CAM_FRONT_LEFT/n013-2018-08(...TRUNCATED) | [{"image_id":0,"category_id":9,"bbox":[824,420,13,10],"area":130,"segmentation":{"counts":"Uddf04Pl0(...TRUNCATED) | [{"id":0,"name":"car"},{"id":1,"name":"truck"},{"id":2,"name":"trailer"},{"id":3,"name":"bus"},{"id"(...TRUNCATED) |
nuImages-GeoDiffusion is the official dataset annotation file used to train GeoDiffusion on the nuImages dataset. We follow the implementations of mmdetection3d, while saving the annotation results in standard COCO format. Check detailed usage in our Github repo.