datumaro.plugins.data_formats.yolo.exporter#

Classes

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

YoloUltralyticsExporter(extractor, save_dir, ...)

class datumaro.plugins.data_formats.yolo.exporter.YoloExporter(extractor: IDataset, save_dir: str, *, add_path_prefix: bool = True, **kwargs)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.jpg'#
classmethod build_cmdline_parser(**kwargs)[source]#
classmethod patch(dataset, patch, save_dir, **kwargs)[source]#
property can_stream: bool#

Flag to indicate whether the exporter can export the dataset in a stream manner or not.

class datumaro.plugins.data_formats.yolo.exporter.YoloUltralyticsExporter(extractor: IDataset, save_dir: str, **kwargs)[source]#

Bases: YoloExporter

must_subset_names = {'train', 'val'}#
classmethod patch(dataset, patch, save_dir, **kwargs)[source]#