Skip To Main Content
Support Knowledge Base

Unable to read OpenVINO™ model in OpenVINO™ Runtime C++ Inference

Content Type: Error Messages   |   Article ID: 000096498   |   Last Reviewed: 10/04/2023

Description

  • Converted a model using OpenVINO™ Model Optimizer version 2021.1

  • Read the model in C++ Inference implementation ( core.read_model() ) using OpenVINO™ Runtime 2022.3 version and received this error:

    repos\openvino\src\frontends\common\src\frontend.cpp:54:Converting input model

    repos\openvino\src\frontends\ir\src\ir_deserializer.cpp:347 Incorrect weights in bin file!

Resolution

Starting 2022.1 releases, OpenVINO™ introduced new API 2.0 as well as the new OpenVINO™ IR model format: IR v11.

Convert the model again using OpenVINO™ 2022.3 Model Optimizer and run the inference using the same OpenVINO™ version.

Related Products

This article applies to 1 products.