Dataset Viewer issue: RowsPostProcessingError

#2
by nimalan - opened

The dataset viewer is not working.

Error details:

Error code:   RowsPostProcessingError

cc @albertvillanova @lhoestq @severo .

Hi ! the error says

It seems the image can't be loaded with PIL.Image and could be corrupted.

Indeed if I run

from datasets import load_dataset

ds = load_dataset("qwer0213/APS_Dataset_Challenge")
for x in ds["train"]:
    pass

I get this error from PIL.Image

UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x11fb339c0>

can you check your dataset is made of valid images ? @qwer0213

I'm not sure if loading the dataset using "load_dataset" will work, but I think you should probably download the zip file locally and unzip it and read the image data.

nimalan changed discussion status to closed

Sign up or log in to comment