기술 성공, 실패 기록소

openpose_ros 3d using depth 본문

followMotion

openpose_ros 3d using depth

sunlab 2022. 2. 28. 21:54
728x90

https://github.com/anushl9o5/openpose_ros

 

GitHub - anushl9o5/openpose_ros: 3D OpenPose using ROS. Includes Hand and Face Detection extensions as well.

3D OpenPose using ROS. Includes Hand and Face Detection extensions as well. - GitHub - anushl9o5/openpose_ros: 3D OpenPose using ROS. Includes Hand and Face Detection extensions as well.

github.com

 

해당 패키지와 호환되는 openpose version을 설치할 것.

 

https://medium.com/@erica.z.zheng/installing-openpose-on-ubuntu-18-04-cuda-10-ebb371cf3442

 

Installing OpenPose on Ubuntu 18.04 CUDA 10

Update: 12–25–2019

medium.com

위 과정으로 진행해주면 되는데

 

step2 intall protubuf 하지말기.

하면 뒤에 make에서 error만 발생한다.

 

(part2 -  caffe 직접설치 하지말기.

사용하는 openpose_ros 패키지와 호환이 안된다.

cmake-gui 과정에서 caffe 알아서 버전 체크해주는걸로 해야함.)

-> 이건 아닌듯 함. 결론적으로 직접설치할 필요는 없음

 

sudo make install 한다음

sudo ldconfig를 해서 라이브러리를 업데이트 해줘야한다.

이거 안해서 openpose_ros 계속 에러났던것 같음

 

cuda 10.0, cuDNN 7.5.0 맞춰줘야 openpose 에러안난다.

cuda 10.2로 하니까 openpose test video가 실행이 안되더라.cuda 여러버전 설치해놓고 환경변수 바꿔가면서 이것저것 사용할 수 있음.이때 cudnn cuda에 링크해서 설치하지말고 각각 버전에 예를들어 cuda-10.0이든 cuda-10.2든 해당버전 폴더에 직접 설치해 줄것.

 

@ [Error] Check failed: error == cudaSuccess (2 vs. 0)  out of memory

https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/1230

 

Check failed: error == cudaSuccess (2 vs. 0) out of memory · Issue #1230 · CMU-Perceptual-Computing-Lab/openpose

Issue Summary After successfully installing CUDA, cuDNN and openpose via the provided instructions I get the error in the title. I know that this error is in the FAQ, but I have ensured that I have...

github.com

 

'followMotion' 카테고리의 다른 글

ROS로 Dynamixel 제어하기 gui service  (0) 2022.04.06
use npy file in c++  (0) 2022.03.07
melodic에서 realsense D435 사용  (0) 2022.02.27
유튜브 동영상 다운로드  (0) 2022.02.26
detectron2 & VideoPose3D  (1) 2022.02.25