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

Speed #5

Open
maylad31 opened this issue Jun 11, 2019 · 5 comments
Open

Speed #5

maylad31 opened this issue Jun 11, 2019 · 5 comments

Comments

@maylad31
Copy link

Can I reduce the image size for more speed? Nice code thanks

@cftang0827
Copy link
Owner

Nope, you can’t. Since the neural network needs the fix input size. If you want to use smaller size, you’d better to retrain the model from scratch.

Thank you for your questions.

@SehgalDivij
Copy link

@maylad31 I am preparing the data for my usecase to try this out. But that could take a while.

Could you tell me how long this took to test out on your spec? And what spec you were using?

Thanks!!

@TiFu
Copy link
Contributor

TiFu commented Jun 21, 2019

I just ran the code including rendering the output image with bounding boxes and person identity on an Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz at about 5 FPS (0.185s frame time).

@maylad31
Copy link
Author

@SehgalDivij hi, sorry for the late revert I ran it on 1060 I get around 0.07 per frame

@SehgalDivij
Copy link

SehgalDivij commented Jul 11, 2019

@TiFu @maylad31 Thankyou very much. Sorry I just saw this.
That checks out. I could run it on 1050Ti at a little less. Roughly
Although, I am curious if anyone found resizing the person's crop to a standard size generates better embeddings?

Edit: Saw the code. Found it was 128X256 in size.

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