Skip to content

Could not create decoder object #23

@TasosLep

Description

@TasosLep

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'].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions