I have downloaded the model file of resnet_v2_50 from https://github.com/tensorflow/models/tree/master/official/resnet which is saved_model.pb for FP32, but I cannot generate the optimized model by using the following command:
sudo python mo_tf.py --saved_model_dir /path/to/model_dir --data_type FP32
And, I get the error information like this:
you must provide an input shape for the model. The MO does not support dynamic input shape ( the -1 ). Add --input_shape <positive_number> to your command.