Skip To Main Content
Support Knowledge Base

Failed to convert TensorFlow* model with multiple inputs into Intermediate Representation (IR) format

Content Type: Error Messages   |   Article ID: 000090955   |   Last Reviewed: 11/13/2023

Description

  • Converted a TensorFlow* custom model into IR format:

    mo --data_type FP16 --saved_model_dir <MODEL_PATH> --input_shape (1,150,150,3)

  • Received error:

    [ ERROR ] Exception occurred during running replacer "REPLACEMENT_ID" (<class 'openvino.tools.mo.front.user_data_repack.UserDataRepack&#>39;>): Original placeholders: 'serving_default_input_1, saver_filename'. Freezing was requested for ''. --input_shape was provided without --input. Can not deduce which node shape to override

Resolution

Model Optimizer command to convert model with multiple inputs:

mo --data_type FP16 --saved_model_dir <MODEL_PATH> --input_shape (1..,150,150,3)

Additional information

Related Products

This article applies to 1 products.