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

Runtime performance #2

Closed
ghost opened this issue Apr 7, 2020 · 1 comment
Closed

Runtime performance #2

ghost opened this issue Apr 7, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 7, 2020

First things first: many thanks for the nice tensorflow2 implementation! I used your pre-trained model on my laptop (with my webcam) and I am getting ~1 FPS. How many FPS do you achieve? Have you tried to convert it to Tensorflow Light yet? Do you have other ideas of how to make it run faster (i.e. get more FPS)?

@peteryuX
Copy link
Owner

peteryuX commented Apr 8, 2020

Hi @p-hofer ,
Thanks for asking~ Even run on the GTX1080ti the speed performance also is quite slow (~6 FPS, 640 x 480 without any downscale). I did a little try on converting it to TF-Lite before, but some operator cannot successfully be converted directly(mainly like NMS). The subtitle idea I think to make it faster is that convert it to TF-lite version(without NMS) and do post-quantization(weithts float32 -> uint8), then rewrite a C/C++ version of NMS to produce the final results. Hope this answer would be helpful to you~ Have a good day!

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