mmskeleton icon indicating copy to clipboard operation
mmskeleton copied to clipboard

Can not find Openpose Python API.

Open xiehaizheng opened this issue 6 years ago • 13 comments

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.

xiehaizheng avatar Nov 08 '19 08:11 xiehaizheng

i have the same problem,have you worked out?

DeH40 avatar Nov 30 '19 09:11 DeH40

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

DeH40 avatar Nov 30 '19 10:11 DeH40

Hi, Did you install it in win10 or others?

starry-night-0 avatar Mar 08 '20 06:03 starry-night-0

Hi, Did you install it in win10 or others?

ubuntu

xiehaizheng avatar Mar 19 '20 02:03 xiehaizheng

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

yosagaf avatar May 18 '20 05:05 yosagaf

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 avatar Sep 10 '20 08:09 38weiying

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

38weiying avatar Sep 17 '20 13:09 38weiying

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.

zjr666 avatar Oct 16 '20 06:10 zjr666

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

38weiying avatar Oct 17 '20 07:10 38weiying

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

G-Apple1 avatar Dec 30 '20 14:12 G-Apple1

我也有同样的问题哎

ChenYingin avatar May 09 '22 07:05 ChenYingin

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

ZhaoYu810 avatar Feb 22 '23 15:02 ZhaoYu810

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

Fasydeer avatar Oct 07 '23 14:10 Fasydeer