Skip to content

Python scripts to download imagenet images and pre-proccess them

License

Notifications You must be signed in to change notification settings

itf/imagenet-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ImageNet URL Downloader

Python utility script for downloading subtrees of ImageNet using the URLs provided by the ImageNet API.

example usage:

./imagenetDownloader.py n03489162 ../dataset --humanreadable -F --images=50 --minsize=7000 -j10

In order to download 50 images from any category under any subtree (-F) of the handtools (n03489162), running 10 threads in parallel, and only downloading images larger than 7kB.

  • Image downloads don't fail if the URL (or rather IRI) includes non-ASCII characters
  • Retry getting list of URLs if the ImageNet API does not respond temporarily (this happens very frequently as of now!)
  • Resume downloads

Please note that this project is currently WIP (as of June 2019) and is expected to receive major updates during the next days!

About

Python scripts to download imagenet images and pre-proccess them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages