EscVM / OIDv4_ToolKit

Download and visualize single or multiple classes from the huge Open Images v4 dataset
GNU General Public License v3.0
800 stars 633 forks source link

Only downloads 13 images #24

Closed Francisobiagwu closed 5 years ago

Francisobiagwu commented 5 years ago

I tried to use the software, but it only downloads 13 images, even though I set the limit to 500

EscVM commented 5 years ago

The limit option is only if you want to limit the number of downloads. On the other hand, if you want to download all available images you should't use it :) Which class of images are you trying of use?

ibrhmyzc commented 5 years ago

The limit option is only if you want to limit the number of downloads. On the other hand, if you want to download all available images you should't use it :) Which class of images are you trying of use?

I have a similar problem too. Knives images are what I am looking for but there are only 150 images of them even though i do not type any limit option. In this website there are a lot of them available.

keldrom commented 5 years ago

@ibrhmyzc could you please share the command that you use and maybe a screen of the terminal? Because if you don't put the limit arg for the download the scrips has to download all the possible images.

ibrhmyzc commented 5 years ago

@ibrhmyzc could you please share the command that you use and maybe a screen of the terminal? Because if you don't put the limit arg for the download the scrips has to download all the possible images.

python main.py downloader --classes Knife --type_csv train --limit 10000

keldrom commented 5 years ago

OIDv4_knife @ibrhmyzc as you can notice I've used the same command as you except for:

AmitPrajapati1902 commented 5 years ago

same happens with me. there is lots of images in dataset for this. but it download only as show here.

Screenshot 2019-04-02 at 4 41 38 PM

keldrom commented 5 years ago

Guys I think that you don't really know what you're doing (or I'm not able to understand you're problem) The script takes as argument the limit of images but obviously if online there are fewer images the OIDv4 will download all the available ones.

Online for VALIDATION dataset there are 56 images, as is also reported into the screen of @AmitPrajapati1902, so if the limit is set to 10000 the script will download 56 images. The fact that you said about more available images is because I think you're referring to train or test dataset.

For the class knife there are 610 images in the train dataset, 56 in validation and 161 in test.

If you wish to download all the available knife images (827) you can use the command:

python3 main.py downloader --classes Knife --type_csv all

I will now close this issues, if you will have other problems don't hesitate to contact us.

AmitPrajapati1902 commented 5 years ago

@keldrom Yes you right, i understand now, its working fine. thanks lot.