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.
6573 ディスカッション

convert mat image object to nhwc

AR92
新規コントリビューター I
3,055件の閲覧回数

hi ,

i have a model which accepts shape nhwc but in my sample project it is using nchw 

how can i convert mat nchw to nhwc

 

Thanks

0 件の賞賛
5 返答(返信)
Munesh_Intel
モデレーター
3,034件の閲覧回数

Hi Amit,


I would suggest you try the potential method that have been shared in Stack Overflow, available at the following link:

https://stackoverflow.com/questions/37689423/convert-between-nhwc-and-nchw-in-tensorflow


Regards,

Munesh


Munesh_Intel
モデレーター
3,034件の閲覧回数

Hi Amit,


I would suggest you try the potential method that have been shared in Stack Overflow, available at the following link:

https://stackoverflow.com/questions/37689423/convert-between-nhwc-and-nchw-in-tensorflow


Regards,

Munesh


AR92
新規コントリビューター I
3,027件の閲覧回数

hi 

i have seen this , this is in python.

i didn't find any transpose function in opencv

Munesh_Intel
モデレーター
3,007件の閲覧回数

Hi Amit,


The following link has some relevant information that might help you.

https://pfnet-research.github.io/menoh/md_tutorial.html


Regards,

Munesh


Munesh_Intel
モデレーター
2,988件の閲覧回数

Hi Amit,


This thread will no longer be monitored since we have provided a tutorial. If you need any additional information from Intel, please submit a new question.


Regards,

Munesh


返信