mnist_format module
- class datumaro.plugins.mnist_format.MnistPath[source]
Bases:
object
- TEST_LABELS_FILE = 't10k-labels-idx1-ubyte.gz'
- TEST_IMAGES_FILE = 't10k-images-idx3-ubyte.gz'
- LABELS_FILE = '-labels-idx1-ubyte.gz'
- IMAGES_FILE = '-images-idx3-ubyte.gz'
- IMAGE_SIZE = 28
- NONE_LABEL = 255
- class datumaro.plugins.mnist_format.MnistConverter(extractor: datumaro.components.extractor.IExtractor, save_dir: str, *, save_images=None, save_media: Optional[bool] = None, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, ctx: Optional[datumaro.components.converter.ExportContext] = None)[source]
Bases:
datumaro.components.converter.Converter
- DEFAULT_IMAGE_EXT = '.png'