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

Batching Image Prediction #8

Closed
bpeck81 opened this issue Jun 27, 2019 · 1 comment
Closed

Batching Image Prediction #8

bpeck81 opened this issue Jun 27, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@bpeck81
Copy link

bpeck81 commented Jun 27, 2019

Is there an easy way to batch images to be predicted on? As of now it looks like the predict function only applies to a single image.

@stefanopini stefanopini added the enhancement New feature or request label Jun 28, 2019
@stefanopini
Copy link
Owner

I've just pushed a commit that adds the support for the prediction on a batch of images.
Calling the SimpleHRNet.predict method on a numpy array with shape (n, height, width, BGR color channel) will do that.

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

No branches or pull requests

2 participants