How to make the openpose use caffe without cuda supported

Multi tool use
How to make the openpose use caffe without cuda supported
I wan to try Openpose:
https://github.com/CMU-Perceptual-Computing-Lab/openpose
in my laptop with an AMD video card,so no cuda is possible,
is that possiable?How?
4 Answers
4
Running caffe with non-NVIDIA card requires opencl branch. Integrating that branch with the caffe branch used by OpenPose
might be tricky (and might be straight forward - I haven't tried it myself).
If you want to "play it safe", you can disable ALL GPU support by setting
OpenPose
CPU_ONLY := 1
In your Makefile.config
before compiling caffe.
This way you'll have a CPU version that does not require any CUDA/NVIDIA support.
Makefile.config
I would add to Shai's answer that you need to disable
# USE_CUDNN := 1
sometime when its left on,the setup function of layers do some CUDA ASSERT checking that fails and prevent the program to continue
There is no way not to use CUDA with OpenPose at the moment. OpenPose internally uses CUDA code for rendering, for cubic resize and for non-maximum suppression. In the future, it is intended to move the CUDA code to OpenCL (so it can work on any graphics card), but that is a long-term goal.
you can simply use the latest cpu version(Latest openpose module, newest upgrade). There's no such cuda tech needed, so nothing much to bother about whether graphics card is nvidia or else.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.