How to install Openpose on Centos 7
git clone
https://github.com/CMU-Perceptual-Computing-Lab/openpose
cd 3rdparty
git clone
https://github.com/CMU-Perceptual-Computing-Lab/caffe.git
cd caffe
cp Makefile.config.Ubuntu14_cuda8.example Makefile.config
update blas choice by changing BLAS := open BLAS_INCLUDE := /usr/include/openblas/ BLAS_LIB := /usr/lib64/
make all # in caffe dir
protoc sr/caffe/proto/caffe.proto -cpp_out=. # need to generate caffe.pb.h manually using protoc
mkdir include/caffe/proto # need to generate caffe.pb.h manually using protoc
mv src/caffe/proto/caffe.pb.h include/caffe/proto # need to generate caffe.pb.h manually using protoc
cmake -DCaffe_INCLUDE_DIRS=../3rdparty/caffe/include/ -DCaffe_LIBS=../3rdparty/caffe/build/lib/libcaffe.so -DBUILD_CAFFE=OFF ..
make -j[cpu count]
It should be fine now. The trick lies in compling caffe seperately
References
https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md
https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/423
http://caffe.berkeleyvision.org/installation.html
https://github.com/muupan/dqn-in-the-caffe/issues/3
https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/18
Back to Home