open-mmlab / mmskeleton

A OpenMMLAB toolbox for human pose estimation, skeleton-based action recognition, and action synthesis.
Apache License 2.0
2.92k stars 1.03k forks source link

Can not find Openpose Python API. #258

Open xiehaizheng opened 4 years ago

xiehaizheng commented 4 years ago

Thank you for your work. Could you help me with this problem when trying demo? python main.py demo --video '/home/wang/mmskeleton/resource/media/skateboarding.mp4' --openpose '/home/wang/openpose/build' --device 0 Can not find Openpose Python API.

DeH40 commented 4 years ago

i have the same problem,have you worked out?

DeH40 commented 4 years ago

i worked it out .when you make install the openpose , choose the option "BUILD_PYTHON" in cmake .

starry-night-0 commented 4 years ago

Hi, Did you install it in win10 or others?

xiehaizheng commented 4 years ago

Hi, Did you install it in win10 or others?

ubuntu

yosagaf commented 4 years ago

Hi,

I'm using ubuntu18.04 I'm getting the same error, I installed open pose and choose the option "BUILD_PYTHON" in cmake-gui and command line but still getting the same error don't know why. I'm using this command "python3 main.py demo --video /home/can/actions/st-gcn/videos/video.mp4 --openpose /home/can/actions/st-gcn/openpose/build --device 1 Any suggestion, I tried ls ../python/openpose and cannot see .so files

38weiying commented 4 years ago

Hi,

I'm using ubuntu18.04 I'm getting the same error, I installed open pose and choose the option "BUILD_PYTHON" in cmake-gui and command line but still getting the same error don't know why. I'm using this command "python3 main.py demo --video /home/can/actions/st-gcn/videos/video.mp4 --openpose /home/can/actions/st-gcn/openpose/build --device 1 Any suggestion, I tried ls ../python/openpose and cannot see .so files

I also choose the option "BUILD_PYTHON" when install the openpose , but still have the same problem Do you solve the problem?

38weiying commented 4 years ago

hi, guys! I found my solution!!!

this work in ubuntu 18.04 I reference this article>>https://medium.com/@erica.z.zheng/installing-openpose-on-ubuntu-18-04-cuda-10-ebb371cf3442 i use part 1/step 4 to install caffe configure & building again then everything go well

i install stgcn about 6 months......i really felt frustrated these months so, i hope everyone can also go well! if you think this solve your problem, tell me~i wanna know! thanks

zjr666 commented 3 years ago

hi, guys! I found my solution!!!

this work in ubuntu 18.04 I reference this article>>https://medium.com/@erica.z.zheng/installing-openpose-on-ubuntu-18-04-cuda-10-ebb371cf3442 i use part 1/step 4 to install caffe configure & building again then everything go well

i install stgcn about 6 months......i really felt frustrated these months so, i hope everyone can also go well! if you think this solve your problem, tell me~i wanna know! thanks

Can you share the specific steps with me? I can't access this website.

38weiying commented 3 years ago

hi, guys! I found my solution!!!

this work in ubuntu 18.04 I reference this article>>https://medium.com/@erica.z.zheng/installing-openpose-on-ubuntu-18-04-cuda-10-ebb371cf3442 i use part 1/step 4 to install caffe configure & building again then everything go well i install stgcn about 6 months......i really felt frustrated these months so, i hope everyone can also go well! if you think this solve your problem, tell me~i wanna know! thanks

Can you share the specific steps with me? I can't access this website.

image

G-Apple1 commented 3 years ago

I have the same problem ,this work in win10,how can I work out? I also don't know why the openpose Python API is used ?

image

ChenYingin commented 2 years ago

我也有同样的问题哎

ZhaoYu810 commented 1 year ago

我试着解决了,主要就是把命令中的python main.py demo改成python main.py demo_old。 希望我焦虑了很久的经验能对你有所帮助(哭)

Fasydeer commented 1 year ago

Hi, guys! I solved the problem I encountered in ubuntu and can run demo_realtime and demo_offline. Can not find Openpose Python API,which is caused by an Openpose compilation error. run ls -l /usr/bin/python and check where your python is pointing, if your python points to python2, run sudo rm /usr/bin/python sudo ln -s /usr/bin/python3 /usr/bin/python then CMake and Compilation your openpose again. ls usr/bin/python/openpose Check the contents of this location. It should contain one of the following file: pyopenpose.cpython-35m-x86_64-linux-gnu.so Then the API problem is solved. Next I encountered the following problem.

384