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

Downloading more Images per class than required and that too randomly #14

Open
deshwalmahesh opened this issue Aug 1, 2020 · 4 comments

Comments

@deshwalmahesh
Copy link

I tried downloading the data with the following command:

python ./downloader.py \
    -data_root /imagenet \
    -number_of_classes 19000 \
    -images_per_class 2 \
    -multiprocessing_workers 24

It downloaded arbitrary number of images per class. I mean I am unable to see why this is happening. Some of the images in a class were 21 other were 3 and so on and so forth.

@raghada
Copy link

raghada commented Aug 17, 2020

Same here, did you mange to solve it?

@ILYSHI
Copy link

ILYSHI commented Jun 2, 2021

The same

@NeonWizard
Copy link

Also the same. Set to download 100 classes with 10 images each, downloads around 15 images each instead.

@ogkalu2
Copy link

ogkalu2 commented Dec 5, 2022

@raghada @NeonWizard @ILYSHI @deshwalmahesh

It's the multiprocessing workers. It's fucking with the code. Set it to 1 and it'll download only as many as you specify

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

5 participants