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

tensorflow to IR conversion

Gupta__Shubham
New Contributor I
147 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
147 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.

Reply