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.

ERROR - Shape is not defined for output 0 of "Cast_1/x"

SR__sridhar
Beginner
619 Views

Hi,

I'm getting an error "Shape is not defined for output 0 of "Cast_1/x"", when I run model optimizer.

Input is a tensorflow .pb file and is for a custom topology (based on Faster-RCNN).

Have attached the log file. 

Thanks.

0 Kudos
2 Replies
Yi_G_Intel1
Employee
619 Views

Did you already freeze your tensorflow model?

0 Kudos
SR__sridhar
Beginner
619 Views

I am giving a .pb file as input. So yes, I am providing a frozen tensorflow model as input to model optimizer.  This is the command I'm using -

python3 ${OPENVINO_HOME}/deployment_tools/model_optimizer/mo.py --log_level=DEBUG --input_shape [1,288,288,3] --input_model ./model/graph.pb

May I know why you asked the question ? 

 

0 Kudos
Reply