How to install Openpose on Centos 7
  1. git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
  2. cd 3rdparty
  3. git clone https://github.com/CMU-Perceptual-Computing-Lab/caffe.git
  4. cd caffe
  5. cp Makefile.config.Ubuntu14_cuda8.example Makefile.config
  6. update blas choice by changing BLAS := open BLAS_INCLUDE := /usr/include/openblas/ BLAS_LIB := /usr/lib64/
  7. make all # in caffe dir
  8. protoc sr/caffe/proto/caffe.proto -cpp_out=. # need to generate caffe.pb.h manually using protoc
  9. mkdir include/caffe/proto # need to generate caffe.pb.h manually using protoc
  10. mv src/caffe/proto/caffe.pb.h include/caffe/proto # need to generate caffe.pb.h manually using protoc
  11. cmake -DCaffe_INCLUDE_DIRS=../3rdparty/caffe/include/ -DCaffe_LIBS=../3rdparty/caffe/build/lib/libcaffe.so -DBUILD_CAFFE=OFF ..
  12. make -j[cpu count]
  13. It should be fine now. The trick lies in compling caffe seperately

References

  1. https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md
  2. https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/423
  3. http://caffe.berkeleyvision.org/installation.html
  4. https://github.com/muupan/dqn-in-the-caffe/issues/3
  5. https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/18
Back to Home