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

Rewrite batch question #115

Open
Zergratino opened this issue Sep 13, 2018 · 0 comments
Open

Rewrite batch question #115

Zergratino opened this issue Sep 13, 2018 · 0 comments

Comments

@Zergratino
Copy link

Hi, I'm currently rewriting code for batch inference. Now I encounter some problems. I already rewrote the RPN layers to adapt batch images. However, when I run net.forward(), the result is not consistent. For example, if batch size = 2, net.blobs['rois'].data.shape = (2, 300, 5), and shape of boxes derived from rios is (2, 300, 4) which is consistent with 1 image situation. But the result of output is not like this, blobs_out = net.forward(**forward_kwargs), blobs_out['bbox_pred'].data.shape = (2, 8), it seems to miss one dimension. Any hints or suggests for this condition? Thanks a lot!

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

1 participant