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
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]"