openpose_unity_plugin icon indicating copy to clipboard operation
openpose_unity_plugin copied to clipboard

Question: How to choose GPU mode

Open Antimality opened this issue 5 years ago • 4 comments

Long story short: I have AMD graphics card and openpose tries to use Cuda, how do I tell it to use OpenCL? Alternatively, how do I use the CPU only?

Using Windows 10, have latest updates for all graphics drivers (Intel and Radeon)

Antimality avatar Jun 29 '19 05:06 Antimality

Don't know about the OpenCL part but for using the CPU only mode, you need to change the renderMode = RenderMode.Auto to renderMode = RenderMode.Cpu in the OPWrapper. Refer to the OpenPose documentation for more details.

vinay5395b avatar Jul 01 '19 20:07 vinay5395b

For running using AMD GPU, I think you just need to install the driver accordingly (posted in OpenPose prerequisites here)

ZiuTinyat avatar Aug 14 '19 04:08 ZiuTinyat

I tried renderMode = RenderMode.Auto to renderMode = RenderMode.Cpu, it's still wrong,told me: op_error:cuda check failed(35 vs 0)

Keneyr avatar May 25 '20 03:05 Keneyr

@Keneyr Hi, did you solve this problem?

Kevoyuan avatar Dec 24 '22 16:12 Kevoyuan