Skip to content

[Feature Request] Optionally save ImageFolder information #617

@hendrycks

Description

@hendrycks

Currently ImageFolder indexes a directory when the object is created. For some datasets (e.g., Places365, ImageNet, etc.) this can take several minutes. In the case of ImageNet-22K, this can take over 30 minutes on an SSD (albeit on an NFS system). Torch saved this information, but PyTorch requires re-indexing every run. I request the option to save and restore the indexing information.

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