Datasets
Collection
14 items
•
Updated
Error code: DatasetGenerationCastError Exception: DatasetGenerationCastError Message: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 5 new columns ({'num_samples', 'bands', 'Dataset', 'attributes', 'split'}) and 3 missing columns ({'updated_at', 'config', 'chunks'}). This happened while the json dataset builder was generating data using hf://datasets/snchen1230/USAVars/train/metadata.json (at revision f60dbd003ae015bd1a05df54affd8db4b1bfbf6d) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, 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 2292, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast Dataset: string split: string num_samples: int64 attributes: struct<image: struct<dtype: string, format: string>, treecover: struct<dtype: string, format: string, unit: string>, elevation: struct<dtype: string, format: string, unit: string>, population: struct<dtype: string, format: string, unit: string>> child 0, image: struct<dtype: string, format: string> child 0, dtype: string child 1, format: string child 1, treecover: struct<dtype: string, format: string, unit: string> child 0, dtype: string child 1, format: string child 2, unit: string child 2, elevation: struct<dtype: string, format: string, unit: string> child 0, dtype: string child 1, format: string child 2, unit: string child 3, population: struct<dtype: string, format: string, unit: string> child 0, dtype: string child 1, format: string child 2, unit: string bands: struct<0: string, 1: string, 2: string, 3: string> child 0, 0: string child 1, 1: string child 2, 2: string child 3, 3: string to {'chunks': [{'chunk_bytes': Value(dtype='int64', id=None), 'chunk_size': Value(dtype='int64', id=None), 'dim': Value(dtype='null', id=None), 'filename': Value(dtype='string', id=None)}], 'config': {'chunk_bytes': Value(dtype='int64', id=None), 'chunk_size': Value(dtype='null', id=None), 'compression': Value(dtype='null', id=None), 'data_format': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'data_spec': Value(dtype='string', id=None), 'encryption': Value(dtype='null', id=None), 'item_loader': Value(dtype='string', id=None)}, 'updated_at': Value(dtype='string', id=None)} because column names don't match During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1412, 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 988, in stream_convert_to_parquet builder._prepare_split( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, 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 1872, in _prepare_split_single raise DatasetGenerationCastError.from_cast_error( datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 5 new columns ({'num_samples', 'bands', 'Dataset', 'attributes', 'split'}) and 3 missing columns ({'updated_at', 'config', 'chunks'}). This happened while the json dataset builder was generating data using hf://datasets/snchen1230/USAVars/train/metadata.json (at revision f60dbd003ae015bd1a05df54affd8db4b1bfbf6d) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
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.
chunks
list | config
dict | updated_at
string | Dataset
string | split
string | num_samples
int64 | attributes
dict | bands
dict |
---|---|---|---|---|---|---|---|
[
{
"chunk_bytes": 255807806,
"chunk_size": 1251,
"dim": null,
"filename": "chunk-0-0.bin"
},
{
"chunk_bytes": 255934155,
"chunk_size": 1258,
"dim": null,
"filename": "chunk-0-1.bin"
},
{
"chunk_bytes": 255825424,
"chunk_size": 1255,
"dim": null,
"filename": "chunk-0-2.bin"
},
{
"chunk_bytes": 255919641,
"chunk_size": 1257,
"dim": null,
"filename": "chunk-0-3.bin"
},
{
"chunk_bytes": 255858380,
"chunk_size": 1252,
"dim": null,
"filename": "chunk-0-4.bin"
},
{
"chunk_bytes": 255974515,
"chunk_size": 1258,
"dim": null,
"filename": "chunk-0-5.bin"
},
{
"chunk_bytes": 209214402,
"chunk_size": 1033,
"dim": null,
"filename": "chunk-0-6.bin"
},
{
"chunk_bytes": 255898234,
"chunk_size": 1262,
"dim": null,
"filename": "chunk-1-0.bin"
},
{
"chunk_bytes": 255972919,
"chunk_size": 1254,
"dim": null,
"filename": "chunk-1-1.bin"
},
{
"chunk_bytes": 255784510,
"chunk_size": 1248,
"dim": null,
"filename": "chunk-1-2.bin"
},
{
"chunk_bytes": 255911644,
"chunk_size": 1258,
"dim": null,
"filename": "chunk-1-3.bin"
},
{
"chunk_bytes": 255875434,
"chunk_size": 1250,
"dim": null,
"filename": "chunk-1-4.bin"
},
{
"chunk_bytes": 255799442,
"chunk_size": 1261,
"dim": null,
"filename": "chunk-1-5.bin"
},
{
"chunk_bytes": 208750421,
"chunk_size": 1031,
"dim": null,
"filename": "chunk-1-6.bin"
},
{
"chunk_bytes": 255900278,
"chunk_size": 1263,
"dim": null,
"filename": "chunk-2-0.bin"
},
{
"chunk_bytes": 255925154,
"chunk_size": 1258,
"dim": null,
"filename": "chunk-2-1.bin"
},
{
"chunk_bytes": 255891628,
"chunk_size": 1250,
"dim": null,
"filename": "chunk-2-2.bin"
},
{
"chunk_bytes": 255873025,
"chunk_size": 1258,
"dim": null,
"filename": "chunk-2-3.bin"
},
{
"chunk_bytes": 255855214,
"chunk_size": 1254,
"dim": null,
"filename": "chunk-2-4.bin"
},
{
"chunk_bytes": 255838881,
"chunk_size": 1264,
"dim": null,
"filename": "chunk-2-5.bin"
},
{
"chunk_bytes": 208298847,
"chunk_size": 1017,
"dim": null,
"filename": "chunk-2-6.bin"
},
{
"chunk_bytes": 255887029,
"chunk_size": 1250,
"dim": null,
"filename": "chunk-3-0.bin"
},
{
"chunk_bytes": 255947408,
"chunk_size": 1264,
"dim": null,
"filename": "chunk-3-1.bin"
},
{
"chunk_bytes": 255896131,
"chunk_size": 1265,
"dim": null,
"filename": "chunk-3-2.bin"
},
{
"chunk_bytes": 255884509,
"chunk_size": 1261,
"dim": null,
"filename": "chunk-3-3.bin"
},
{
"chunk_bytes": 255905154,
"chunk_size": 1254,
"dim": null,
"filename": "chunk-3-4.bin"
},
{
"chunk_bytes": 255923020,
"chunk_size": 1261,
"dim": null,
"filename": "chunk-3-5.bin"
},
{
"chunk_bytes": 205684709,
"chunk_size": 1009,
"dim": null,
"filename": "chunk-3-6.bin"
},
{
"chunk_bytes": 255776078,
"chunk_size": 1259,
"dim": null,
"filename": "chunk-4-0.bin"
},
{
"chunk_bytes": 255957392,
"chunk_size": 1260,
"dim": null,
"filename": "chunk-4-1.bin"
},
{
"chunk_bytes": 255887143,
"chunk_size": 1253,
"dim": null,
"filename": "chunk-4-2.bin"
},
{
"chunk_bytes": 255947864,
"chunk_size": 1265,
"dim": null,
"filename": "chunk-4-3.bin"
},
{
"chunk_bytes": 255954948,
"chunk_size": 1257,
"dim": null,
"filename": "chunk-4-4.bin"
},
{
"chunk_bytes": 255964610,
"chunk_size": 1264,
"dim": null,
"filename": "chunk-4-5.bin"
},
{
"chunk_bytes": 203918317,
"chunk_size": 1006,
"dim": null,
"filename": "chunk-4-6.bin"
},
{
"chunk_bytes": 255987480,
"chunk_size": 1259,
"dim": null,
"filename": "chunk-5-0.bin"
},
{
"chunk_bytes": 255962339,
"chunk_size": 1258,
"dim": null,
"filename": "chunk-5-1.bin"
},
{
"chunk_bytes": 255991870,
"chunk_size": 1261,
"dim": null,
"filename": "chunk-5-2.bin"
},
{
"chunk_bytes": 255953056,
"chunk_size": 1258,
"dim": null,
"filename": "chunk-5-3.bin"
},
{
"chunk_bytes": 255795798,
"chunk_size": 1257,
"dim": null,
"filename": "chunk-5-4.bin"
},
{
"chunk_bytes": 255900373,
"chunk_size": 1252,
"dim": null,
"filename": "chunk-5-5.bin"
},
{
"chunk_bytes": 206675260,
"chunk_size": 1019,
"dim": null,
"filename": "chunk-5-6.bin"
},
{
"chunk_bytes": 255991883,
"chunk_size": 1262,
"dim": null,
"filename": "chunk-6-0.bin"
},
{
"chunk_bytes": 255880352,
"chunk_size": 1253,
"dim": null,
"filename": "chunk-6-1.bin"
},
{
"chunk_bytes": 255850473,
"chunk_size": 1259,
"dim": null,
"filename": "chunk-6-2.bin"
},
{
"chunk_bytes": 255870651,
"chunk_size": 1265,
"dim": null,
"filename": "chunk-6-3.bin"
},
{
"chunk_bytes": 255927585,
"chunk_size": 1256,
"dim": null,
"filename": "chunk-6-4.bin"
},
{
"chunk_bytes": 255945761,
"chunk_size": 1256,
"dim": null,
"filename": "chunk-6-5.bin"
},
{
"chunk_bytes": 207284241,
"chunk_size": 1013,
"dim": null,
"filename": "chunk-6-6.bin"
},
{
"chunk_bytes": 255948546,
"chunk_size": 1257,
"dim": null,
"filename": "chunk-7-0.bin"
},
{
"chunk_bytes": 255846681,
"chunk_size": 1260,
"dim": null,
"filename": "chunk-7-1.bin"
},
{
"chunk_bytes": 255814279,
"chunk_size": 1255,
"dim": null,
"filename": "chunk-7-2.bin"
},
{
"chunk_bytes": 255851129,
"chunk_size": 1264,
"dim": null,
"filename": "chunk-7-3.bin"
},
{
"chunk_bytes": 255939975,
"chunk_size": 1259,
"dim": null,
"filename": "chunk-7-4.bin"
},
{
"chunk_bytes": 255853120,
"chunk_size": 1260,
"dim": null,
"filename": "chunk-7-5.bin"
},
{
"chunk_bytes": 205555107,
"chunk_size": 1010,
"dim": null,
"filename": "chunk-7-6.bin"
}
] | {
"chunk_bytes": 256000000,
"chunk_size": null,
"compression": null,
"data_format": [
"bytes",
"pickle",
"pickle",
"pickle"
],
"data_spec": "[1, {\"type\": \"builtins.dict\", \"context\": \"[\\\"hdf5_data\\\", \\\"treecover\\\", \\\"elevation\\\", \\\"population\\\"]\", \"children_spec\": [{\"type\": null, \"context\": null, \"children_spec\": []}, {\"type\": null, \"context\": null, \"children_spec\": []}, {\"type\": null, \"context\": null, \"children_spec\": []}, {\"type\": null, \"context\": null, \"children_spec\": []}]}]",
"encryption": null,
"item_loader": "PyTreeLoader"
} | 1735834532.5502412 | null | null | null | null | null |
null | null | null | USAVars | train | 68,513 | {
"image": {
"dtype": "uint8",
"format": "numpy"
},
"treecover": {
"dtype": "float32",
"format": "numpy",
"unit": "percentage"
},
"elevation": {
"dtype": "float32",
"format": "numpy",
"unit": "meters"
},
"population": {
"dtype": "float32",
"format": "numpy",
"unit": "people_per_square_kilometer"
}
} | {
"0": "Red",
"1": "Green",
"2": "Blue",
"3": "NearInfrared"
} |
No dataset card yet