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

Meta-Dataset in TFDS: have issues with converting mscoco dataset #113

Open
ruili-pml opened this issue Feb 1, 2023 · 0 comments
Open

Meta-Dataset in TFDS: have issues with converting mscoco dataset #113

ruili-pml opened this issue Feb 1, 2023 · 0 comments

Comments

@ruili-pml
Copy link

Hi,

Not sure if it's only me having this issue but when I try to download&convert datasets with tfds, PIL throws an error ValueError: seek of closed file. After some googing it seems PIL is not very compatible with the with method (https://stackoverflow.com/questions/74646251/django-value-error-seek-of-closed-file-using-pil-for-image-resize-when-updatin). Tab the code after line 329 in meta_dataset/data/tfds/example_generators.py fixes the issue for me but maybe there's a more clever fix?

Thanks,
Rui

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

No branches or pull requests

1 participant