datumaro.plugins.data_formats.cifar#
Classes
|
|
|
|
- class datumaro.plugins.data_formats.cifar.CifarPath[source]#
Bases:
object
- META_10_FILE = 'batches.meta'#
- META_100_FILE = 'meta'#
- TRAIN_FILE_PREFIX = 'data_batch_'#
- USELESS_FILE = 'file.txt~'#
- IMAGE_SIZE = 32#
- class datumaro.plugins.data_formats.cifar.CifarBase(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#
Bases:
SubsetBase
- class datumaro.plugins.data_formats.cifar.CifarImporter[source]#
Bases:
Importer
- classmethod detect(context: FormatDetectionContext) FormatDetectionConfidence | None [source]#
- class datumaro.plugins.data_formats.cifar.CifarExporter(extractor: IDataset, save_dir: str, *, save_media: bool | None = None, image_ext: str | None = None, default_image_ext: str | None = None, save_dataset_meta: bool = False, save_hashkey_meta: bool = False, stream: bool = False, ctx: ExportContext | None = None)[source]#
Bases:
Exporter
- DEFAULT_IMAGE_EXT = '.png'#