Dataset does not load: TypeError: 'NoneType' object is not iterable
#1
by
albertvillanova
HF staff
- opened
This dataset does not load:
In [1]: from datasets import load_dataset
In [2]: ds = load_dataset("nyuuzyou/AnimeHeadsv3")
gives
TypeError: 'NoneType' object is not iterable
The reason is that the directory structure within the ZIP data files is not supported by the ImageFolder
builder.
The directory structure is:
images
βββ 0001_bel1c1i1_jpg.rf.1a4afbb24eedb9665bf5b590b3b7ceed.jpg
βββ ...
labels
βββ 0001_bel1c1i1_jpg.rf.1a4afbb24eedb9665bf5b590b3b7ceed.txt
βββ ...
You can get more information on our docs about how to Create an image dataset.
Hello. I created a script to load the dataset and it worked. Thank you for your help.
nyuuzyou
changed discussion status to
closed