Unable To Convert Frozen Model Into Intermediate Representation (IR)
Content Type: Troubleshooting | Article ID: 000100573 | Last Reviewed: 05/21/2025
Converted a frozen_model to IR using OpenVINO™ version 2021.4 with TensorFlow* version 2.4, but the conversion failed.
To resolve the IR conversion failure, try the following steps:
--input_shape "[1,X]" for static batch of 1
--input_shape "[?,X]" for dynamic batch size
--input <input_name>
--output <output_name>
print([tensor.name for tensor in frozen_func.inputs])
print([tensor.name for tensor in frozen_func.outputs])
OpenVINO™ 2021.4 has limited support for TensorFlow* 2.4. Upgrading to OpenVINO™ 2023.x may improve compatibility.