Skip to content

"download -z" unzips all the images to the same directory #18

@shri-zz

Description

@shri-zz

I ran python download.py -i 1 -r 5 -z based on https://huggingface.co/datasets/poloclub/diffusiondb#downloading-to-a-specific-directory. It downloaded the five zip files as images/part-00000<N>.zip. However, the unzipped images were all in the current directory. Shouldn't they be created in five separate subdirectories? Otherwise, you end up with a single directory with 2M files. https://huggingface.co/datasets/poloclub/diffusiondb says "The 2 million images in DiffusionDB 2M are split into 2,000 folders", and dowload.py is not implementing that intent.

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