incerto.data.CIFAR10_vs_SVHN#

class incerto.data.CIFAR10_vs_SVHN(root='./data', normalize=True)[source]#

Bases: OODBenchmark

CIFAR-10 (ID) vs SVHN (OOD) benchmark.

Far-OOD benchmark with different image statistics.

Parameters:
__init__(root='./data', normalize=True)[source]#
Parameters:

Methods

__init__([root, normalize])

get_datasets()

Get CIFAR-10 (ID) and SVHN (OOD) test sets.

get_transforms()

Get data transformations.

__init__(root='./data', normalize=True)[source]#
Parameters:
get_transforms()[source]#

Get data transformations.

Return type:

Compose

get_datasets()[source]#

Get CIFAR-10 (ID) and SVHN (OOD) test sets.

Return type:

Tuple[Dataset, Dataset]