Article ID: 000094535 Content Type: Troubleshooting Last Reviewed: 11/13/2023

Unable to Append the Tensor Output Results for Asynchronous Inferencing in OpenVINO™ Python* API

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Sample code for appending tensor output results for asynchronous inferencing in OpenVINO™ Python* API

Description
  • Created a custom code for asynchronous inferencing in OpenVINO™ using Python* API.
  • Encountered issue where the printed results for the output tensors are repeated even with different input images.
Resolution

Use append(next(iter(infer_request.results.values()))) in order to append the unique output tensor results of each asynchronous inferencing.

Additional information

Refer Image Classification Async Python Sample for more information on how to use asynchronous inferencing.

Related Products

This article applies to 1 products