The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: HfHubHTTPError
Message: 502 Server Error: Bad Gateway for url: https://huggingface.co/api/datasets/Haitao999/things-eeg/tree/f45948e37fb83c3bc415ffd5868f5a0c98c62015/Image_set_Resize%2Ftrain_images%2F00224_candelabra?recursive=False&expand=False
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status
response.raise_for_status()
File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://huggingface.co/api/datasets/Haitao999/things-eeg/tree/f45948e37fb83c3bc415ffd5868f5a0c98c62015/Image_set_Resize%2Ftrain_images%2F00224_candelabra?recursive=False&expand=False
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1626, in _prepare_split_single
writer.write(example, key)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 538, in write
self.write_examples_on_file()
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 496, in write_examples_on_file
self.write_batch(batch_examples=batch_examples)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 610, in write_batch
self.write_table(pa_table, writer_batch_size)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 625, in write_table
pa_table = embed_table_storage(pa_table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2271, in embed_table_storage
arrays = [
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in <listcomp>
embed_array_storage(table[name], feature) if require_storage_embed(feature) else table[name]
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 2141, in embed_array_storage
return feature.embed_storage(array)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/image.py", line 272, in embed_storage
[
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/image.py", line 273, in <listcomp>
(path_to_bytes(x["path"]) if x["bytes"] is None else x["bytes"]) if x is not None else None
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 311, in wrapper
return func(value) if value is not None else None
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/image.py", line 267, in path_to_bytes
with xopen(path, "rb") as f:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 949, in xopen
file_obj = fsspec.open(file, mode=mode, *args, **kwargs).open()
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/core.py", line 135, in open
return self.__enter__()
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/core.py", line 103, in __enter__
f = self.fs.open(self.path, mode=mode)
File "<string>", line 3, in open
File "/usr/local/lib/python3.9/unittest/mock.py", line 1092, in __call__
return self._mock_call(*args, **kwargs)
File "/usr/local/lib/python3.9/unittest/mock.py", line 1096, in _mock_call
return self._execute_mock_call(*args, **kwargs)
File "/usr/local/lib/python3.9/unittest/mock.py", line 1157, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 848, in wrapped
f = fs_open(self, urlpath, mode, *args, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/spec.py", line 1293, in open
f = self._open(
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 275, in _open
return HfFileSystemFile(self, path, mode=mode, revision=revision, block_size=block_size, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 947, in __init__
self.details = fs.info(self.resolved_path.unresolve(), expand_info=False)
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 711, in info
self.ls(parent_path, expand_info=False)
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 372, in ls
out = self._ls_tree(path, refresh=refresh, revision=revision, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 463, in _ls_tree
for path_info in tree:
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_api.py", line 3028, in list_repo_tree
for path_info in paginate(path=tree_url, headers=headers, params={"recursive": recursive, "expand": expand}):
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_pagination.py", line 37, in paginate
hf_raise_for_status(r)
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_http.py", line 477, in hf_raise_for_status
raise _format(HfHubHTTPError, str(e), response) from e
huggingface_hub.errors.HfHubHTTPError: 502 Server Error: Bad Gateway for url: https://huggingface.co/api/datasets/Haitao999/things-eeg/tree/f45948e37fb83c3bc415ffd5868f5a0c98c62015/Image_set_Resize%2Ftrain_images%2F00224_candelabra?recursive=False&expand=False
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 1433, 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 1487, 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 1644, 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.
image
image | label
class label |
|---|---|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
000001_aardvark
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
200002_abacus
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
400003_accordion
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
600004_acorn
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
800005_air_conditioner
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1000006_air_mattress
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1200007_air_pump
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1400008_airbag
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1600009_airboat
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
|
1800010_airplane
|
End of preview.