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

1_body_from_image.py stops at opWrapper.configure(params) on Windows #1026

Closed
Po-Jen opened this Issue Jan 16, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@Po-Jen
Copy link

Po-Jen commented Jan 16, 2019

Issue Summary

I am running python API, but 1_body_from_image.py stopped and did not show any detection result.

After a little debugging, I found 1_body_from_image.py stops at opWrapper.configure(params). I know this because I modified the starting openpose part in 1_body_from_image.py to

# Starting OpenPose
opWrapper = op.WrapperPython()
print('h')
print(params)
opWrapper.configure(params)
print('he')
opWrapper.start()
print('hello')

And the output is
img

Executed Command (if any)

Note: add --logging_level 0 --disable_multi_thread to get higher debug information.

python 1_body_from_image.py --logging_level 0 --disable_multi_thread

OpenPose Output (if any)

C:\Users\rosindigo\Documents\GitHub\openpose-master\openpose\build\examples\tutorial_api_python>python 1_body_from_image.py --logging_level 0 --disable_multi_thread
Starting OpenPose Python Wrapper...

Errors (if any)

Type of Issue

  • Execution error

Your System Configuration

  1. Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here:

img

  1. OpenPose version: 2fe8292

  2. General configuration:

    • Installation mode: CMake Windows, VS2015 Enterprise for build compilation
    • Operating system (lsb_release -a in Ubuntu): Windows 10
    • Release or Debug mode? (by default: release): Debug
    • Compiler (gcc --version in Ubuntu or VS version in Windows): VS2015 Enterprise Update 3
  3. Non-default settings: None

  4. 3rd-party software:

    • Caffe version: Default from OpenPose
    • CMake version (cmake --version in Ubuntu): 3.13.2
    • OpenCV version: pre-compiled apt-get install libopencv-dev (only Ubuntu); OpenPose default (only Windows)
  5. If Python API:

    • Python version: 3.6
    • Numpy version (python -c "import numpy; print numpy.version.version" in Ubuntu):
  6. If Windows system:

    • compiled library
@gineshidalgo99

This comment has been minimized.

Copy link
Member

gineshidalgo99 commented Jan 16, 2019

Could you try with the Release mode and report the results with that one? (that's the only test I can think of to know what it could be)

@Po-Jen

This comment has been minimized.

Copy link
Author

Po-Jen commented Jan 16, 2019

Thanks!! After compiling in Release mode and change the path in 1_body_from_image.py. I can now see the detection result.

img

@Po-Jen Po-Jen closed this Jan 16, 2019

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