nip.image_classification.data.TestDataset

nip.image_classification.data.TestDataset#

class nip.image_classification.data.TestDataset(root: str | Path, train: bool = True, transform: callable | None = None, target_transform: callable | None = None, download: bool = False)[source]#

A fake dataset for testing.

Methods Summary

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

Attributes

binarification_seed

height

num_channels

selected_classes

width

Methods

__init__(root: str | Path, train: bool = True, transform: callable | None = None, target_transform: callable | None = None, download: bool = False)[source]#