Unverified Commit 10bb5b18 authored by Nikita's avatar Nikita Committed by GitHub
Browse files

Fix FGVCAircraft dataset documentation (#5814)



There is a mistake in FGVCAircraft dataset documentation. If you load dataset and sum up 'trainval' and 'test' splits, there are not 10 200, but 10 000 images. Also mistake is in the number of classes: if we choose `annotation_level` to be `variant`, then unique number of classes is going to be not 102, but 100, and with `manufacturer` level it is not 41, but 30.
Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
parent 9cae1562
...@@ -12,15 +12,15 @@ from .vision import VisionDataset ...@@ -12,15 +12,15 @@ from .vision import VisionDataset
class FGVCAircraft(VisionDataset): class FGVCAircraft(VisionDataset):
"""`FGVC Aircraft <https://www.robots.ox.ac.uk/~vgg/data/fgvc-aircraft/>`_ Dataset. """`FGVC Aircraft <https://www.robots.ox.ac.uk/~vgg/data/fgvc-aircraft/>`_ Dataset.
The dataset contains 10,200 images of aircraft, with 100 images for each of 102 The dataset contains 10,000 images of aircraft, with 100 images for each of 100
different aircraft model variants, most of which are airplanes. different aircraft model variants, most of which are airplanes.
Aircraft models are organized in a three-levels hierarchy. The three levels, from Aircraft models are organized in a three-levels hierarchy. The three levels, from
finer to coarser, are: finer to coarser, are:
- ``variant``, e.g. Boeing 737-700. A variant collapses all the models that are visually - ``variant``, e.g. Boeing 737-700. A variant collapses all the models that are visually
indistinguishable into one class. The dataset comprises 102 different variants. indistinguishable into one class. The dataset comprises 100 different variants.
- ``family``, e.g. Boeing 737. The dataset comprises 70 different families. - ``family``, e.g. Boeing 737. The dataset comprises 70 different families.
- ``manufacturer``, e.g. Boeing. The dataset comprises 41 different manufacturers. - ``manufacturer``, e.g. Boeing. The dataset comprises 30 different manufacturers.
Args: Args:
root (string): Root directory of the FGVC Aircraft dataset. root (string): Root directory of the FGVC Aircraft dataset.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment