Dataset Viewer issue

#1
by TheBossLevel123 - opened

The dataset viewer is not working.

Error details:

Error code:   StreamingRowsError
Exception:    ValueError
Message:      One or several metadata.csv were found, but not in the same directory or in a parent directory of zip://train/00000-0-badlands_200031.png::https://huggingface.co/datasets/TheBossLevel123/mclandscape/resolve/9fdf98de4c9777a3e9fa0914bfe11d792f934054/train.zip.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 263, in get_rows_or_raise
                  return get_rows(
                File "/src/services/worker/src/worker/utils.py", line 204, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 241, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1353, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 207, in __iter__
                  yield from self.generate_examples_fn(**self.kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/folder_based_builder/folder_based_builder.py", line 370, in _generate_examples
                  raise ValueError(
              ValueError: One or several metadata.csv were found, but not in the same directory or in a parent directory of zip://train/00000-0-badlands_200031.png::https://huggingface.co/datasets/TheBossLevel123/mclandscape/resolve/9fdf98de4c9777a3e9fa0914bfe11d792f934054/train.zip.

cc @albertvillanova @lhoestq @severo .

Hi! You can fix this by merging https://huggingface.co/datasets/TheBossLevel123/mclandscape/discussions/2 (just opened by me :))

Fixed by #2:

Screenshot from 2023-08-30 11-26-13.png

albertvillanova changed discussion status to closed

Sign up or log in to comment