load dataset error

#2
by kakatech - opened

Hi, I tried to run this scirpt:

from datasets import load_dataset
dataset = load_dataset("food101", split="train[:100]")
dataset[0]["image"]

i ran this in spyder and it returns this error:

for job_id, done, content in self._prepare_split_single(

File ~\anaconda3\envs\HF\Lib\site-packages\datasets\builder.py:1644 in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e

DatasetGenerationError: An error occurred while generating the dataset

anyone knows what's wrong with this?

Sign up or log in to comment