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

input one, extract multiple across N dim #234

Open
nihui opened this issue Jan 13, 2018 · 2 comments
Open

input one, extract multiple across N dim #234

nihui opened this issue Jan 13, 2018 · 2 comments

Comments

@nihui
Copy link
Member

nihui commented Jan 13, 2018

Mat is a 3-dim data structure. we do not support batch inference on ncnn
however, it can be easier for use if the extractor could extract blob with N dim produced from the network
ex. faster-rcnn, lstm ...

Extractor ex = net.create_extractor();

ncnn::Mat in;
ex.input("data", in);

std::vector<ncnn::Mat> results;
ex.extract("output", results);
@mike07026
Copy link

Yes, it will be better if Mat support NCHW format.

@zhedasuiyuan
Copy link

What's the status for this issue? Any plans to release this feature? Thanks!

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

3 participants