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.

tensorflow to IR conversion

Gupta__Shubham
New Contributor I
601 Views

hey,

while converting tensorflow graph(.pb) to openvino IR(.xml), using mo_tf.py, shape of output layer is changing. In my case its changing from [1,13,13,30] to [1,30,13,13]. Can anyone explain this?

0 Kudos
1 Reply
Shubha_R_Intel
Employee
601 Views

Hi shubham. Inference Engine expects NCHW but Tensorflow generates NHWC (channel is last shape element). And this is exactly the switch that you observe.

0 Kudos
Reply