simple-HigherHRNet icon indicating copy to clipboard operation
simple-HigherHRNet copied to clipboard

tensorrt

Open chh7411898 opened this issue 3 years ago • 1 comments

Did you try to convert this into tensorrt?

chh7411898 avatar Nov 16 '21 12:11 chh7411898

No, I didn't, but any contributions are welcome! Please consider sharing the results here if you manage to convert it in tensorrt.

stefanopini avatar Nov 17 '21 08:11 stefanopini

#14 I have added TRT support for HigherHRNet. I have used the yolov5 conversion function since torch2trt was throwing memory error. It works only on the w32_512 weights

gpastal24 avatar Oct 23 '22 21:10 gpastal24

Amazing, thanks a lot for the contribution! I will review the PR in the next weeks and consider merging it into the master branch

stefanopini avatar Oct 27 '22 23:10 stefanopini

OK , thank you I have made some improvements to the code in order to be better understood.

gpastal24 avatar Oct 28 '22 23:10 gpastal24

Hi @gpastal24 , unfortunately I didn't have the time to look into this the last two week. I will try to review it by the end of this week, apologies for the waiting

stefanopini avatar Nov 14 '22 00:11 stefanopini

Hi @stefanopini, don't worry about it, I am not in a hurry. Thanks for letting me know :)

gpastal24 avatar Nov 14 '22 18:11 gpastal24

Hi @gpastal24 ! As mentioned in #14 I merged your PR that adds the support to TensorRT using yolov5 to a new branch tensorrt. Thanks a lot for the help with the code!

I'm now working on the PR #15 to clean up the code a bit, update the documentation (and hopefully add a link to a working example on colab) and then merge it into the master branch. I'll let you know when everything is ready, happy to have the pr reviewed by you if you're available.

@chh7411898 the documentation is not there yet, but you can use the tensorrt convertor already from the branch tensorrt! Just follow the instruction posted here

stefanopini avatar Nov 21 '22 01:11 stefanopini

TensorRT support has been merged into master! Closing

stefanopini avatar Nov 23 '22 23:11 stefanopini