Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows, Python API tutorial execution error #1392

Closed
bluesy7585 opened this issue Oct 8, 2019 · 7 comments
Closed

Windows, Python API tutorial execution error #1392

bluesy7585 opened this issue Oct 8, 2019 · 7 comments

Comments

@bluesy7585
Copy link

Hi
I successfully build and run C++ tutorial 01_body_from_image_default.exe
but python tutorial does not show anything.

after uncomment line70 in 01_body_from_image.py
it shows some error message

System Configuration

Windows 7, Visual Studio 2017, CMake 3.14.1
CUDA 10
Python 3.6.7 (Anaconda env)

Executed Command (if any)

..\openpose\build\examples\tutorial_api_python>python 01_body_from_image.py

OpenPose Output (if any)

Starting OpenPose Python Wrapper...
Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting
 at GPU 0.

Errors (if any)

uncomment line70 in 01_body_from_image.py
it shows

Starting OpenPose Python Wrapper...
Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting
 at GPU 0.
(): incompatible function arguments. The following argument types are supported:

    1. (self: pyopenpose.Datum, arg0: op::Matrix) -> None

Invoked with: <pyopenpose.Datum object at 0x0000000009F51FB8>, array([[[ 60, 129
, 102],
...

how do I fix this?
thanks

@Chenxi93
Copy link

Chenxi93 commented Oct 8, 2019

Hi I also got this problem. But a few days ago it still worked. Is there some upates leading to this problem or ?

@PawelFaron
Copy link

Same here.

@Trolloldem
Copy link

Same here on windows following the installation guide.

@vgundecha
Copy link

I had the same problem on Ubuntu 18.04, CUDA 10.1, Python 3.6.

I solved it by reverting to this commit 06d4ea6

git reset --hard 06d4ea6
cd build
make

@Aakash95-co
Copy link

Thanks It works for me.
I had the same problem on Ubuntu 16.04 with python3 and cpu-only mode.

@Trolloldem
Copy link

Works for me as well

@gineshidalgo99
Copy link
Member

Fixed in the latest commit. Sorry for the troubles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants