Skip to content

PyTorch custom dataset APIs -- CUB-200-2011, Stanford Dogs, Stanford Cars, FGVC Aircraft, NABirds, Tiny ImageNet, iNaturalist2017

License

Notifications You must be signed in to change notification settings

lvyilin/pytorch-fgvc-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch FGVC Dataset

This repo contains some unofficial PyTorch dataset APIs(mainly for Fine-Grained Visual Categorization task), which support automatically download (except large-scale datasets), extract the archives, and prepare the data.

Supported Datasets

  • CUB-200-2011
  • Stanford Dogs
  • Stanford Cars
  • FGVC Aircraft
  • NABirds
  • Tiny ImageNet
  • iNaturalist 2017
  • Oxford 102 Flowers
  • Oxford-IIIT Pets
  • Food-101

Usage

The code was tested on

  • pytorch==1.4.0
  • torchvision==0.4.1

Use them the similar way you use torchvision.datasets.

train_dataset = Cub2011('./cub2011', train=True, download=False)
test_dataset = Cub2011('./cub2011', train=False, download=False)

Contributing

Feel free to open an issue or PR.

License

MIT

About

PyTorch custom dataset APIs -- CUB-200-2011, Stanford Dogs, Stanford Cars, FGVC Aircraft, NABirds, Tiny ImageNet, iNaturalist2017

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages