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

convert mmpose model to ONNX for TensorRT #131

Closed
khanhha opened this issue Sep 15, 2020 · 8 comments · Fixed by #305
Closed

convert mmpose model to ONNX for TensorRT #131

khanhha opened this issue Sep 15, 2020 · 8 comments · Fixed by #305

Comments

@khanhha
Copy link

khanhha commented Sep 15, 2020

Hello,
I would like to ask if it's possible to convert MMPose models to ONNX format for using with TensorRT for better real-time performance.
Thanks

@innerlee
Copy link
Contributor

this will be added to the next iteration, with great possibility

@khanhha
Copy link
Author

khanhha commented Sep 15, 2020

That would be fantastic. I can help implement C++ inference code using TensorRT, for the bottom-up approach.

@innerlee
Copy link
Contributor

maybe this pr open-mmlab/mmaction2#160 is helpful

@khanhha
Copy link
Author

khanhha commented Sep 15, 2020 via email

@innerlee
Copy link
Contributor

Hi @khanhha , you can try this pull request #305, any feedback would be great

@alicera
Copy link

alicera commented Jun 22, 2021

I find the bottom-up approach have the matrix algorithm.
Do you have any idea for implement C++ inference code

@innerlee
Copy link
Contributor

np & torch can be very fast for matrix things. Mostly there is no need for c++ reimplementation. Could you please open a new issue giving details on where is the slowness? We will try to optimize it once the bottleneck is clear

@alicera
Copy link

alicera commented Jun 23, 2021

Hi @khanhha ,
Do you have any idea for implement C++ inference code for buttom-up?
This project only have top-down
https://github.com/linghu8812/tensorrt_inference/tree/master/mmpose

rollingman1 pushed a commit to rollingman1/mmpose that referenced this issue Nov 5, 2021
HAOCHENYE pushed a commit to HAOCHENYE/mmpose that referenced this issue Jun 27, 2023
* [Feature]: Add dist semantics in checkpoint hook

* [Fix]: Delete sync buffer in checkpoint hook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants