avalanche.benchmarks.datasets.INATURALIST2018

class avalanche.benchmarks.datasets.INATURALIST2018(root='/home/docs/.avalanche/data/inaturalist2018/', split='train', transform=ToTensor(), target_transform=None, loader=<function pil_loader>, download=True, supcats=None)[source]

INATURALIST Pytorch Dataset

For default selection of 10 supercategories:

  • Training Images in total: 428,830

  • Validation Images in total: 23,229

  • Shape of images: torch.Size([1, 3, 600, 800])

  • Class counts per supercategory (both train/val):

    • ‘Amphibia’: 144,

    • ‘Animalia’: 178,

    • ‘Arachnida’: 114,

    • ‘Aves’: 1258,

    • ‘Fungi’: 321,

    • ‘Insecta’: 2031,

    • ‘Mammalia’: 234,

    • ‘Mollusca’: 262,

    • ‘Plantae’: 2917,

    • ‘Reptilia’: 284}

__init__(root='/home/docs/.avalanche/data/inaturalist2018/', split='train', transform=ToTensor(), target_transform=None, loader=<function pil_loader>, download=True, supcats=None)[source]

Methods

__init__([root, split, transform, ...])

Attributes

def_supcats

splits