Skip To Main Content
Support Knowledge Base

Error: “The Shape of Input Data Conflicts With the Reshape Pattern” When Running Benchmark Tool on a Custom Model

Content Type: Troubleshooting   |   Article ID: 000101131   |   Last Reviewed: 06/16/2025

Description

  • Ran Benchmark Tool on a custom model
  • Encountered error:
    [CPU] Reshape node with name 'detected_classes'
    [cpu]reshape: the shape of input data (1.1.6) conflicts with the reshape pattern (1.256)

Resolution

The error indicates a mismatch between the actual input shape of a tensor and the reshape pattern expected by the model.

To verify the model's expected input shape, use the -shape parameter:
benchmark_app -m your_model.xml -d CPU -shape

If there's a mismatch, specify the correct input shape manually:
benchmark_app -m your_model.xml -d CPU -shape "[1,256]"

Related Products

This article applies to 1 products.