Not able to download dataset

#1
by SomaKorada - opened

getting this error


ValueError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, job_id)
1939 )
-> 1940 writer.write_table(table)
1941 num_examples_progress_update += len(table)

8 frames
ValueError: Couldn't cast
x: double
y: double
z: double
rot: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 676
to
{'Timestamp': Value(dtype='int64', id=None), 'Longitude': Value(dtype='float64', id=None), 'Latitude': Value(dtype='float64', id=None), 'RotationV X': Value(dtype='float64', id=None), 'RotationV Y': Value(dtype='float64', id=None), 'RotationV Z': Value(dtype='float64', id=None), 'RotationV W': Value(dtype='float64', id=None), 'RotationV Acc': Value(dtype='float64', id=None), 'linear_acc_x': Value(dtype='float64', id=None), 'linear_acc_y': Value(dtype='float64', id=None), 'linear_acc_z': Value(dtype='float64', id=None), 'heading': Value(dtype='float64', id=None), 'speed': Value(dtype='float64', id=None)}
because column names don't match

The above exception was the direct cause of the following exception:

DatasetGenerationError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, job_id)
1956 if isinstance(e, SchemaInferenceError) and e.context is not None:
1957 e = e.context
-> 1958 raise DatasetGenerationError("An error occurred while generating the dataset") from e
1959
1960 yield job_id, True, (total_num_examples, total_num_bytes, writer._features, num_shards, shard_lengths)

DatasetGenerationError: An error occurred while generating the dataset

Hello @SomaKorada ,
Please try downloading the dataset using git:

git lfs clone https://huggingface.co/datasets/AdityaNG/BengaluruDrivingDatasetRaw

Sign up or log in to comment