otx.algorithms.classification.adapters.openvino#

Adapters of classification - openvino.

Classes

ClassificationOpenVINOTask(task_environment)

Task implementation for OTXClassification using OpenVINO backend.

class otx.algorithms.classification.adapters.openvino.ClassificationOpenVINOTask(task_environment: TaskEnvironment)[source]#

Bases: IDeploymentTask, IInferenceTask, IEvaluationTask, IExplainTask, IOptimizationTask

Task implementation for OTXClassification using OpenVINO backend.

deploy(output_model: ModelEntity) None[source]#

Deploy function of ClassificationOpenVINOTask.

evaluate(output_resultset: ResultSetEntity, evaluation_metric: str | None = None)[source]#

Evaluate function of ClassificationOpenVINOTask.

explain(dataset: DatasetEntity, explain_parameters: ExplainParameters | None = None) DatasetEntity[source]#

Explain function of ClassificationOpenVINOTask.

infer(dataset: DatasetEntity, inference_parameters: InferenceParameters | None = None) DatasetEntity[source]#

Infer function of ClassificationOpenVINOTask.

load_inferencer() ClassificationOpenVINOInferencer[source]#

load_inferencer function of ClassificationOpenVINOTask.

optimize(optimization_type: OptimizationType, dataset: DatasetEntity, output_model: ModelEntity, optimization_parameters: OptimizationParameters | None = None)[source]#

Optimize function of ClassificationOpenVINOTask.

property avg_time_per_image: float | None#

Average inference time per image.