datumaro.components.merge.base#

Classes

Merger(**options)

Merge multiple datasets into one dataset

class datumaro.components.merge.base.Merger(**options)[source]#

Bases: IMergerContext, CliPlugin

Merge multiple datasets into one dataset

static merge_infos(sources: Sequence[Dict[str, Any]]) Dict[source]#

Merge several IDataset into one IDataset

static merge_categories(sources: Sequence[Dict[AnnotationType, Categories]]) Dict[source]#
static merge_media_types(sources: Sequence[IDataset]) Type[MediaElement] | None[source]#
static merge_ann_types(sources: Sequence[IDataset]) Set[AnnotationType] | None[source]#
save_merge_report(path: str) None[source]#
get_any_label_name(ann, label_id)[source]#