Download image data from ImageNet with python.
python example.py <WordnetID> -v
Start download images.
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
Check WordnetID.
ImageNet