I'm trying to convert a Keras model to OpenVINO format.
At first I used a tool to convert model to tensorflow then use mo_tf.py. But I got the following error:
[ ERROR ] Shape [-1 64 64 3] is not fully defined for output 0 of "input_1". Use --input_shape with positive integers to override model input shapes. [ ERROR ] Cannot infer shapes or values for node "input_1". [ ERROR ] Not all output shapes were inferred or fully defined for node "input_1". For more information please refer to Model Optimizer FAQ (<INSTALL_DIR>/deployment_tools/documentation/docs/MO_FAQ.html), question #40. [ ERROR ] [ ERROR ] It can happen due to bug in custom shape infer function <function tf_placeholder_ext.<locals>.<lambda> at 0x7fdb614f9730>. [ ERROR ] Or because the node inputs have incorrect values/shapes. [ ERROR ] Or because input shapes are incorrect (embedded to the model or passed via --input_shape).
So I add --input_shape = "[1 64 64 3]" or "[64 64 3]" but got another error.
Could you please check the error? Or what tool you suggest to convert Keras?
The tool I use to convert keras to tensorflow and attached files are the models and log:
And the model: