Article ID: 000090386 Content Type: Product Information & Documentation Last Reviewed: 05/20/2022

Is There Any Way to Change the Model Layout When Inferencing with OpenVINO™ Inference Engine?

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

How to change, or reshape, the input shape of a model.

Description
  • Failed to prepare inputs for a cascade of networks.
  • The output for the first model is in CHW layout but the input for the second model is in NCHW layout.
Resolution

Use InferenceEngine::CNNNetwork::reshape to set new input shapes for your first model that does not have batch dimension into NCHW layout.

Related Products

This article applies to 2 products