Article ID: 000059329 Content Type: Error Messages Last Reviewed: 05/20/2022

Encountered Error: "DeprecationWarning" when Running Latest Version of OpenVINO™ toolkit with Intermediate Representation (IR) Files Generated with a Previous Version of OpenVINO toolkit

Environment

OpenVINO™ toolkit 2021.3, OpenVINO™ toolkit 2019.1

Debian Linux*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

How to fix a mismatch between the version of IR and the version of OpenVINO™ toolkit

Description
  • Executed Raspberry Pi 4 OpenVINO™ toolkit example from RPI4_NCS2 and encountered the following error:

    DeprecationWarning: 'outputs' property of InferRequest is deprecated. Please instead use 'output_blobs' property. 

    detections = exec_net.requests[cur_request_id].outputs[out_blob] 

  • The IR files of the model, MobileNetSSD_deploy, were generated using OpenVINO toolkit 2019.1.
Resolution

Either regenerate the model IR with the new version of OpenVINO toolkit using the original model or run inference on the model with the original version of OpenVINO toolkit, v2019.1.

Related Products

This article applies to 2 products