CIFAR data scenario fragments.
cifar10_data
cifar10_data(
root: str = "cifar10", download: bool = True
) -> DataSpec
Create a DataSpec for CIFAR-10 image classification.
Returns:
| Name | Type |
Description |
DataSpec |
DataSpec
|
CIFAR-10 dataset specification.
|
cifar100_data
cifar100_data(
root: str = "cifar100", download: bool = True
) -> DataSpec
Create a DataSpec for CIFAR-100 image classification.
Returns:
| Name | Type |
Description |
DataSpec |
DataSpec
|
CIFAR-100 dataset specification.
|