CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
31.26k stars 7.87k forks source link

zsh: no such file or directory: ./build/examples/openpose/openpose.bin #1671

Open ghost opened 4 years ago

ghost commented 4 years ago

Issue Summary

Steps taken:

  1. cloned the OpenPose git
  2. cloned the 3rdparty/caffe folder as well because it wasn't cloning above
  3. updated OpenPose
  4. installed homebrew
  5. Ran bash scripts/osx/install_deps.sh. for the requirements
  6. Used the Cmake GUI and tried installing caffe from there got: zsh: no such file or directory: ./build/examples/openpose/openpose.bin
  7. As per instructions I uninstalled caffe, and reinstalled through the terminals according to their website. Everything worked fine until I tried make runtest got: make: *** No rule to make target `runtest'. Stop.
  8. built OpenPose with: cd build/ make -jsysctl -n hw.logicalcpu
  9. Ran test: ./build/examples/openpose/openpose.bin --image_dir examples/media/ got: zsh: no such file or directory: ./build/examples/openpose/openpose.bin

no error messages during any part of the process only two warnings during build:

warning: braces around scalar initializer and warning: control may reach end of non-void function

one user commented with a similar issue with no solution here:

https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/1270#issuecomment-515393251

Executed Command (if any)

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

./build/examples/openpose/openpose.bin --image_dir examples/media/

OpenPose Output (if any)

zsh: no such file or directory: ./build/examples/openpose/openpose.bin

Errors (if any)

none

Type of Issue

You might select multiple topics, delete the rest:

Your System Configuration

Screen Shot 2020-08-19 at 8 22 13 PM Screen Shot 2020-08-19 at 8 13 03 PM

  1. OpenPose version:

Latest GitHub code

  1. General configuration:

    • Installation mode: CMake terminal
    • Operating system : macOS Catalina
  2. 3rd-party software:

    • caffe version: default from OpenPose
    • Cmake 3.18.1
    • opencv version: downloaded using python 3.7
  3. If CPU-only mode issue: 6 core intel i7 16GB memory

xiangyann commented 4 years ago

Cloning caffe should be included if you followed this step to grab the submodules, because apart from caffe, pybind is needed too. Can you elaborate your step 6?

xiangyann commented 4 years ago

Also, it's ./build/examples/openpose/openpose.bin, you missed the dot at the front in your execution. Remember to execute this command at root openpose folder instead of staying in the build folder.

jameelhassan commented 4 years ago

Same problem. Should we see a "openpose.bin" file in the directory /build/examples/openpose???

wangyf123 commented 4 years ago

Same problem, can anyone know how to handle this issue?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

camrynfriedman commented 3 years ago

Same problem, can anyone know how to handle this issue?

@wangyf123 @jameelhassan Did you figure it out? I know it was a long time ago but if you remember that would be fantastic.

jameelhassan commented 3 years ago

@camrynfriedman I did figure it out. But I can't remember it now. I'll see if I can find it, if I do I will post i here.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.