Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

openNIVO SSD 300 Error

川李000
Beginner
328 Views

how to convert the .pb model to IR?

l use

python3 mo_tf.py --data_type FP16 --input_shape [1,300,300,3] --input_model /path/to/my/pbmodel

it's wrong.

[ ERROR ] Shape [ 1 3 -1 256] is not fully defined for output 0 of "conv8_2/convolution". Use --input_shape with positive integers to override model input shapes. [ ERROR ] Cannot infer shapes or values for node "conv8_2/convolution". [ ERROR ] Not all output shapes were inferred or fully defined for node "conv8_2/convolution". 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 Convolution.infer at 0x7fe94897d378>. [ 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). [ ERROR ] Run Model Optimizer with --log_level=DEBUG for more information. [ ERROR ] Stopped shape/value propagation at "conv8_2/convolution" node. For more information please refer to Model Optimizer FAQ (<INSTALL_DIR>/deployment_tools/documentation/docs/MO_FAQ.html), question #38.

how to correct convert? need other parameter? and parameter's content?

 

And what should l change the code if l use your code to detect.

0 Kudos
1 Reply
JesusE_Intel
Moderator
328 Views

Hello,

 

I have responded to your other post with similar question:

https://software.intel.com/en-us/forums/computer-vision/topic/809260

 

Regards,

Jesus

0 Kudos
Reply