datumaro.plugins.data_formats.mars#

Classes

MarsBase(path, *[, ctx])

MarsImporter()

MarsPath()

class datumaro.plugins.data_formats.mars.MarsPath[source]#

Bases: object

SUBSET_DIR_PATTERN = 'bbox_*'#
IMAGE_DIR_PATTERNS = ['[0-9][0-9][0-9][0-9]', '00-1']#
IMAGE_NAME_POSTFIX = 'C[0-9]T[0-9][0-9][0-9][0-9]F[0-9][0-9][0-9].*'#
class datumaro.plugins.data_formats.mars.MarsBase(path: str, *, ctx: Optional[ImportContext] = None)[source]#

Bases: DatasetBase

categories()[source]#

Returns metainfo about dataset labels.

class datumaro.plugins.data_formats.mars.MarsImporter[source]#

Bases: Importer

classmethod detect(context: FormatDetectionContext)[source]#
classmethod find_sources(path)[source]#