Skip to content

Inaturalist

INaturalistDataModule #

Bases: ImageClassificationDataModule

name class-attribute #

name: str = 'inaturalist'

Dataset name.

dataset_cls class-attribute #

dataset_cls: type[INaturalist] = INaturalist

Dataset class to use.

dims class-attribute instance-attribute #

dims: tuple[C, H, W] = (C(3), H(224), W(224))

A tuple describing the shape of the data.

default_transforms #

default_transforms() -> Callable

Default transform for the dataset.