datumaro.plugins.explorer#
Classes
|
- class datumaro.plugins.explorer.ExplorerLauncher(description=None, weights=None, interpreter=None, model_dir=None, model_name=None, output_layers=None, device=None)[source]#
Bases:
OpenvinoLauncher
- infer_item(item: DatasetItem) HashKey [source]#
- launch(batch: Sequence[DatasetItem]) List[List[Annotation]] [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.