datumaro.components.environment#

Classes

Environment([use_lazy_import])

class datumaro.components.environment.Environment(use_lazy_import: bool = True)[source]#

Bases: object

property extractors: DatasetBaseRegistry#
property importers: ImporterRegistry#
property launchers: LauncherRegistry#
property exporters: ExporterRegistry#
property generators: GeneratorRegistry#
property transforms: TransformRegistry#
property validators: ValidatorRegistry#
load_plugins(plugins_dir)[source]#
register_plugins(plugins)[source]#
make_extractor(name, *args, **kwargs)[source]#
make_importer(name, *args, **kwargs)[source]#
make_launcher(name, *args, **kwargs)[source]#
make_exporter(name, *args, **kwargs)[source]#
make_transform(name, *args, **kwargs)[source]#
is_format_known(name)[source]#
detect_dataset(path: str, depth: int = 1, rejection_callback: Callable[[str, RejectionReason, str], None] | None = None) List[str][source]#
classmethod merge(envs: Sequence[Environment]) Environment[source]#
classmethod release_builtin_plugins()[source]#