- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Out of curiosity, why are the openvino samples all setting the NCHW layout and not NHWC layout as opencv provides by default when you read an image? Now every example has to convert the image itself to the correct format... and loop over all the pixels for this conversion...
Best regards,
Tom,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dearest Tom,
The reason for this is that Tensorflow is the only network out there who uses NHWC. All other networks use NCHW. Thus OpenVino's Inference Engine satisfies the majority so it also uses NCHW layout. Models of all network flavors must be converted to NCHW layout in order to work with Inference Engine.
Hope this explains it !
Thanks,
Shubha
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dearest Tom,
The reason for this is that Tensorflow is the only network out there who uses NHWC. All other networks use NCHW. Thus OpenVino's Inference Engine satisfies the majority so it also uses NCHW layout. Models of all network flavors must be converted to NCHW layout in order to work with Inference Engine.
Hope this explains it !
Thanks,
Shubha

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page