datumaro.plugins.data_formats.mvtec.exporter#

Classes

LabelmapType(value)

An enumeration.

MvtecClassificationExporter(*args, **kwargs)

MvtecDetectionExporter(*args, **kwargs)

MvtecExporter(extractor, save_dir[, tasks])

MvtecSegmentationExporter(*args, **kwargs)

class datumaro.plugins.data_formats.mvtec.exporter.LabelmapType(value)[source]#

Bases: Enum

An enumeration.

kitti = 1#
source = 2#
class datumaro.plugins.data_formats.mvtec.exporter.MvtecExporter(extractor, save_dir, tasks=None, **kwargs)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.png'#
classmethod build_cmdline_parser(**kwargs)[source]#
get_label(label_id)[source]#
class datumaro.plugins.data_formats.mvtec.exporter.MvtecClassificationExporter(*args, **kwargs)[source]#

Bases: MvtecExporter

class datumaro.plugins.data_formats.mvtec.exporter.MvtecSegmentationExporter(*args, **kwargs)[source]#

Bases: MvtecExporter

class datumaro.plugins.data_formats.mvtec.exporter.MvtecDetectionExporter(*args, **kwargs)[source]#

Bases: MvtecExporter