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

Post-processing takes twice longer than inference #20

Open
sinangokce opened this issue Jan 15, 2021 · 0 comments
Open

Post-processing takes twice longer than inference #20

sinangokce opened this issue Jan 15, 2021 · 0 comments

Comments

@sinangokce
Copy link

Hello! Very nice work. I'm very much inspired by your work in my project. I'm working on a Jeston AGX Xavier and converting my custom yolov5s.onnx model to .trt engine with trtexec command. I ran some experiments and saw that optimized inferencing takes approx. 10ms.

However post-processing (nms, modifying output with the formulas given in the repo of ultralytics, etc...) takes 20ms. Did you try to implement your approach in c++ to get faster post-processing?

Another question is about modifying the output array. Why do we need this modification? Doesn't trtexec take this part of model into consideration during transformation from onnx to trt?

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

1 participant