smart-video-workshop
smart-video-workshop copied to clipboard
mo_tf.exe error
I use below command to convert .pb file to .xml and bin file. "python mo_tf.py --input_model frozen_inference_graph.pb" The frozen_inference_graph.pb file is download pretrain model of faster_rcnn_inception_v2_coco. It show below error message:
WARNING: Logging before flag parsing goes to stderr.
E0918 18:03:22.582442 11896 infer.py:160] Shape [-1 -1 -1 3] is not fully defin
ed for output 0 of "image_tensor". Use --input_shape with positive integers to o
verride model input shapes.
E0918 18:03:22.582442 11896 infer.py:180] Cannot infer shapes or values for node
"image_tensor".
E0918 18:03:22.582442 11896 infer.py:181] Not all output shapes were inferred or
fully defined for node "image_tensor".
For more information please refer to Model Optimizer FAQ (https://docs.openvino
toolkit.org/latest/_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html), question
#40.
E0918 18:03:22.582442 11896 infer.py:182]
E0918 18:03:22.583442 11896 infer.py:183] It can happen due to bug in custom sha
pe infer function <function Parameter.init.
what's wrong ?