datumaro.plugins.accuracy_checker_plugin.ac_launcher#

Classes

AcLauncher(config[, model_dir])

Generic model launcher with Accuracy Checker backend.

class datumaro.plugins.accuracy_checker_plugin.ac_launcher.AcLauncher(config, model_dir=None)[source]#

Bases: Launcher, CliPlugin

Generic model launcher with Accuracy Checker backend.

classmethod build_cmdline_parser(**kwargs)[source]#
launch(inputs)[source]#

Launch to obtain the inference outputs of items.

Parameters:
  • inputs – batch of Datasetitems

  • stack – If true, launch inference for the stacked input for the batch-wise dimension Otherwise, launch inference for each input.

Returns:

A list of annotation list. Each annotation list is mapped to the input DatasetItem. These annotation list are pseudo-labels obtained by the model inference.

categories()[source]#