Skip to content

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

@ruili-pml

Description

@ruili-pml

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions