trt_pose icon indicating copy to clipboard operation
trt_pose copied to clipboard

trt_pose in C++ program

Open SLyra21 opened this issue 4 years ago • 5 comments

Hi,

I am more or less new in the field of TensorRT optimization and I would like to ask about the possibility to use the trt_pose in C++. Can I export the model to ONNX format and load it afterwards, so that TensorRT can provide the optimization for the process? Can I use the ONNX model in a C++ program to get a pose estimation?

Best regards, Simon

SLyra21 avatar Dec 05 '19 09:12 SLyra21

@SLyra21 you can use python to export plan file from torch2trt generated .trt file. Then load it using tensorRT c++ API and inference.

thancaocuong avatar Nov 11 '20 02:11 thancaocuong

I just finished implementing it in windows C++. https://github.com/batselem/Human_pose_detection

spacewalk01 avatar Apr 16 '21 06:04 spacewalk01

@batselem I've just take a look at your repo. But please include build system and instruction to build and run your source code. Thanks

thancaocuong avatar Apr 16 '21 06:04 thancaocuong

I will update its readme soon.

spacewalk01 avatar Apr 16 '21 06:04 spacewalk01

@thancaocuong added the detailed installation guide.

spacewalk01 avatar Apr 19 '21 05:04 spacewalk01