mnist_csv_format module

class datumaro.plugins.mnist_csv_format.MnistCsvPath[source]

Bases: object

IMAGE_SIZE = 28
NONE_LABEL = -1
class datumaro.plugins.mnist_csv_format.MnistCsvExtractor(path, subset=None)[source]

Bases: datumaro.components.extractor.SourceExtractor

__init__(path, subset=None)[source]
class datumaro.plugins.mnist_csv_format.MnistCsvImporter[source]

Bases: datumaro.components.extractor.Importer

classmethod find_sources(path)[source]
class datumaro.plugins.mnist_csv_format.MnistCsvConverter(extractor, save_dir, save_images=False, image_ext=None, default_image_ext=None, save_dataset_meta=False)[source]

Bases: datumaro.components.converter.Converter

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