openpose Pytorch code 활용
Update 2021.09.03
GitHub - Hzzone/pytorch-openpose: pytorch implementation of openpose including Hand and Body Pose Estimation.
pytorch implementation of openpose including Hand and Body Pose Estimation. - GitHub - Hzzone/pytorch-openpose: pytorch implementation of openpose including Hand and Body Pose Estimation.
github.com
쓰기는 이게 더 편하나듯.
ubuntu 16.04에서 offical caffe implemented software 를 다운로드 받아 쓰려다 실패 했다. install 이 안된다. window OS에서만 잘 작동하는 듯.
github.com/tensorboy/pytorch_Realtime_Multi-Person_Pose_Estimation
tensorboy/pytorch_Realtime_Multi-Person_Pose_Estimation
Contribute to tensorboy/pytorch_Realtime_Multi-Person_Pose_Estimation development by creating an account on GitHub.
github.com
Pytorch github이 있는데, 좀 불친절해도 작동한다.
git submodule init && git submodule update
# swig 설치가 안 되어 있따면.
sudo apt-get install swig
cd lib/pafprocess; sh make.sh
# conda 환경 먼저 만들고 (python<=3.7)
conda create env --name myenv python=3.6
conda activate myenv
conda install pytorch=0.4.1 cuda90 torchvision -c pytorch
# udpate 2021.3.19. requirements.txt가 있었고, 다른 분들은
# pip install -r requirements.txt 하면 된다.
# requirements.txt가 없어서 일일이 다 찾음
pip install scipy
pip install pylab-sdk
pip install matplotlib
pip install requests
pip install pandas
pip install pycocotools
pip install yacs
python demo/picture_demo.py
위의 과정을 다 거치면 result.png
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1535491974311/work/aten/src/THC/THCGeneral.cpp line=663 error=11 : invalid argument
error like this comes out.. don't know why
그래도 결과는 나온다.
