Skip to main content

Pytorch Datasets for Fine Grained Visual Classification using a common interface.

Project description

FGVC Datasets in PyTorch

The fgvcdata package implements a common API for working with Fine-Grained Visual Categorization (FGVC) datasets in PyTorch.

Purpose

FGVC is becoming a popular area in computer vision, with new methods being published regularly at top CV conferences. Often, the method authors provide PyTorch code to aid in reproducing their work. Each code base ends up implementing their own version of a PyTorch API to utilize several common datasets. This leads to unnecessary duplicated effort, and often complicates things when trying to work with multiple different models and datasets.

The purposes of this package are

  • to provide a unified interface for using FGVC datasets
  • to make it easy to to get up and running with these datasets
  • to make it convenient to add new datasets to the training process

Installation

Install with pip

pip install fgvcdata

The fgvcdata package should now be available:

>>> import fgvcdata
>>> fgvcdata.datasets
['CUB', 'CUBPlus', 'NABirds', 'StanfordCars', 'StanfordDogs', 'Aircraft', 'OxfordFlowers']

Datasets

These are the currently available datasets:

These datasets are publicly available online for use in research; we do not host or distribute them, or make any claims about their quality or fairness.

Accessing the Data

The images and metadata for most of the datasets can be downloaded directly through the library, similar to torchvision.datasets. Further processing shouldn't be necessary.

The dataset classes in this package expect the data to be organized inside a root folder, containing the various image folders and metadata files in the same form as they are presented for download by the dataset host.

Contributing

Contributions are welcome! Please feel free to open issues related to bug fixes, or to fix them and submit a pull request. I'd also be happy to discuss updates/changes to the library to make it more useful/usable, as well as for adding new datasets -- feel free to open an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fgvcdata-0.1.0.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fgvcdata-0.1.0-py2.py3-none-any.whl (34.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fgvcdata-0.1.0.tar.gz.

File metadata

  • Download URL: fgvcdata-0.1.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for fgvcdata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f1c88e3ac02d07ca6103283e53f0c390def653dddfb3911631a1f47c43232aac
MD5 c85b7478e0ab916ea079ebb25258884f
BLAKE2b-256 08003962d4787720f90d506152328ecc355943ebca9e9c6aeb23dd9ee2fc29a3

See more details on using hashes here.

File details

Details for the file fgvcdata-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: fgvcdata-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for fgvcdata-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4951c76784dea281ad52b5947f85c9305fedbad426413e50e6dce3c3f6da9508
MD5 ea6a1f5b4d913b1a46aba03eb7bd3bfe
BLAKE2b-256 8478d81ffb7ae092041dedee51de02343bee87a8f22e749e62220240ac6c8987

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page