Skip To Main Content
Support Knowledge Base

How to Convert Keras* H5 Model to an Intermediate Representation (IR) Format?

Content Type: Troubleshooting   |   Article ID: 000088667   |   Last Reviewed: 03/09/2026

Description

Unable to determine steps to convert Keras* H5 model to an IR format.

Resolution

Keras H5 models are not converted directly in current OpenVINO releases.

  1. Load the Keras H5 model using TensorFlow and export it to SavedModel format.
  2. Convert the SavedModel to an OpenVINO model using the OpenVINO Converter (OVC) or the Python conversion API.
  3. Use the generated OpenVINO model (.xml/.bin or in‑memory model) for inference.
NoteModel Optimizer scripts (mo_tf.py, install_prerequisites*.bat) are legacy and no longer recommended.

Related Products

This article applies to 1 products.