Skip to content

PINTO0309/Python-ImageNet_Downloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo


Download image data from ImageNet with python.

Usage

How to use example

python example.py <WordnetID> -v

Start download images.

How to use downloader module

Sample code.

import downloader
import os
api = downloader.ImageNet(root=os.getcwd())
api.download(wnid, verbose=True)

Downloader makes directory.

root/  
 ├ img/  
 ├ list/  

If you substitute 'n02112826' for wnid, Downloader changes directory and save images below.

root/  
 ├ img/  
 │ └ n02112826/
 │       └ n02112826_20084.jpg
 │       └ n02112826_20105.jpg
 │       └ ....
 ├ list/  
 │ └ n02112826.txt

WordetID

Check WordnetID.
ImageNet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%