Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not create decoder object #23

Open
TasosLep opened this issue Mar 6, 2024 · 0 comments
Open

Could not create decoder object #23

TasosLep opened this issue Mar 6, 2024 · 0 comments

Comments

@TasosLep
Copy link

TasosLep commented Mar 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant