openpose icon indicating copy to clipboard operation
openpose copied to clipboard

How to accelerate the inference speed by using inference engine (ex:Intel Openvino, NVIDIA TensorRT) instead of using caffe?

Open jackgao0323 opened this issue 8 years ago • 3 comments

Type of Issue

  • Help wanted

Your System Configuration

  1. OpenPose version: Latest GitHub code

  2. General configuration:

    • Installation mode: CMake
    • Operating system : Windows 10
    • Release or Debug mode : Release
    • Compiler : VS2015 community
  3. Non-default settings:

    • 3-D Reconstruction module added? : no
    • Any other custom CMake configuration with respect to the default version? : no
  4. 3rd-party software:

    • Caffe version: Default from OpenPose
    • CMake version : CMake 3.8.0
    • OpenCV version: OpenPose default
  5. If Windows system:

    • Portable demo or compiled library?

I want to accelerate the inference speed by using inference engine (ex:Intel Openvino, NVIDIA TensorRT) instead of using caffe.

I want to know how to get the input of the caffe model in your program and what should I do after I get the output?

Thank you very much.

jackgao0323 avatar Nov 06 '18 07:11 jackgao0323

Hello, I started a TensorRT PR last year but left it after the big PIMPL refactoring messed things up just when I got less time to work on this repo. You can still see it in unmerged PRs, it can give you ideas on how to make it work for actual repo configuration. I only got to replace the main NN inference part, did a few computation changes for other ops but didn't replace some of the caffe components.

bushibushi avatar Nov 08 '18 16:11 bushibushi

@bushibushi Thank you very much. I'll take a look right now.

jackgao0323 avatar Nov 08 '18 16:11 jackgao0323

I'd suggest checking out early in the branch where i am certain things worked like 8023fb1

bushibushi avatar Nov 08 '18 17:11 bushibushi