Article ID: 000090523 Content Type: Error Messages Last Reviewed: 11/02/2022

Unable to Convert One Dimensional Convolution Neural Network (1D CNN) Keras* Model into Intermediate Representation (IR)

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Steps to convert 1D CNN Keras* model into IR.

Description
  • Converted custom 1D CNN Keras* model into TensorFlow model.
  • Converted the TensorFlow* model into IR with the following command:
    python mo_tf.py --saved_model_dir <path_to__saved_model_dir> --input_shape [1,2,60] --data_type FP16
  • Encountered error:
    [ ERROR ] Exception occurred during running replacer "REPLACEMENT_ID" (<class 'extensions.front.user_data_repack.UserDataRepack'>):
    Original placeholders: 'serving_default_embedding_10_input, saver_filename'.
    Freezing was requested for ''.
    --input_shape was provided without --input.
    Can not deduce which node shape to override
Resolution
  • Convert custom 1D CNN Keras model into TensorFlow model.
  • Convert TensorFlow model to IR with the following command:
    mo --saved_model_dir=<path_to_saved_model_dir> -b=1

Related Products

This article applies to 1 products