avalanche.benchmarks.datasets.Omniglot
- class avalanche.benchmarks.datasets.Omniglot(root: str, train: bool = True, transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, download: bool = False)[source]
Custom class used to adapt Omniglot (from Torchvision) and make it compatible with the Avalanche API.
- __init__(root: str, train: bool = True, transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, download: bool = False) None[source]
Methods
__init__(root[, train, transform, ...])download()extra_repr()register_datapipe_as_function(function_name, ...)register_function(function_name, function)Attributes
datadownload_url_prefixfolderfunctionszips_md5