tf-pose-estimation icon indicating copy to clipboard operation
tf-pose-estimation copied to clipboard

ImportError: cannot import name '_pafprocess' from 'tf_pose.pafprocess'

Open ssz5450 opened this issue 3 years ago • 3 comments

File "F:\SDXX\tfopenpose\openpose\tf_pose\pafprocess\pafprocess.py", line 13, in from . import _pafprocess ImportError: cannot import name '_pafprocess' from 'tf_pose.pafprocess'

ssz5450 avatar Mar 05 '22 18:03 ssz5450

Hello, I have the same problem. How do you solve it?

murasakirua avatar Sep 16 '22 06:09 murasakirua

The solution here might be to build the c++ library, run the following commands:

  • cd tf_pose/pafprocess/
  • swig -python -c++ pafprocess.i
  • python setup.py build_ext --inplace

AndresKlagges-OCL avatar Jan 17 '23 14:01 AndresKlagges-OCL

Thank you, buddy. It worked on my ubuntu 22.04

dilwolf avatar Jun 09 '24 05:06 dilwolf