Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why you revert the caffe model when load it? #1

Open
SyGoing opened this issue Jul 19, 2019 · 3 comments
Open

Why you revert the caffe model when load it? #1

SyGoing opened this issue Jul 19, 2019 · 3 comments

Comments

@SyGoing
Copy link

SyGoing commented Jul 19, 2019

yulibcafe,cpp ,when you use the caffe model, you first revert it and the input shape change from caffe(nchw) to tf mode(nhwc), why you do that instead of using it as original caffe model

@xindongzhang
Copy link
Owner

That's an auto-mechanism in MNN, since data buffer from opencv image is nhwc. Then when you copy tensor to the input tensor of network, MNN would automatically transfer it to the target data format.

@runninglei1
Copy link

两个中国人为什么不用中文交流。。。。

@xuguozhi
Copy link

新版本的MNN_generated.h 好像不在mnn/tools/converter/source/IR中,没有IR这个文件目录了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants