datumaro.plugins.data_formats.mnist_csv#

Classes

MnistCsvBase(path, *[, subset, ctx])

MnistCsvExporter(extractor, save_dir, *[, ...])

MnistCsvImporter()

MnistCsvPath()

class datumaro.plugins.data_formats.mnist_csv.MnistCsvPath[source]#

Bases: object

IMAGE_SIZE = 28#
NONE_LABEL = -1#
class datumaro.plugins.data_formats.mnist_csv.MnistCsvBase(path: str, *, subset: Optional[str] = None, ctx: Optional[ImportContext] = None)[source]#

Bases: SubsetBase

class datumaro.plugins.data_formats.mnist_csv.MnistCsvImporter[source]#

Bases: Importer

DETECT_CONFIDENCE = 20#
classmethod find_sources(path)[source]#
class datumaro.plugins.data_formats.mnist_csv.MnistCsvExporter(extractor: IDataset, save_dir: str, *, save_media: Optional[bool] = None, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, save_hashkey_meta: bool = False, stream: bool = False, ctx: Optional[ExportContext] = None)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.png'#
save_in_csv(path, data)[source]#
save_labels()[source]#