diffusiondb icon indicating copy to clipboard operation
diffusiondb copied to clipboard

Could not create decoder object

Open TasosLep opened this issue 1 year ago • 0 comments

When I try to load the dataset:

dataset = load_dataset('poloclub/diffusiondb', 'large_random_10k') df = pd.DataFrame(dataset['train'])

I get the following error :

 60         # Use the newer AnimDecoder API to parse the (possibly) animated file,
 61         # and access muxed chunks like ICC/EXIF/XMP.
 ---> 62         self._decoder = _webp.WebPAnimDecoder(self.fp.read())
 63 
 64         # Get info from decoder

 OSError: could not create decoder object

It seems that there is an issue with an object within dataset['train']['image'].

TasosLep avatar Mar 06 '24 14:03 TasosLep