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

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

Open
shri-zz opened this issue Oct 16, 2023 · 0 comments
Open

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

shri-zz opened this issue Oct 16, 2023 · 0 comments

Comments

@shri-zz
Copy link

shri-zz commented Oct 16, 2023

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.

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