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
30.83k stars 7.83k forks source link

Cant't run example (process killed) with Openpose 1.7 on Jetson Xavier NX #1980

Open DiXcipuli opened 3 years ago

DiXcipuli commented 3 years ago

Issue Summary

After compiling without any error Openpose 1.7 on Xavier NX (Jetpack 4.5), running: ./build/examples/openpose/openpose.bin --video ./examples/media/video.avi --net_resolution "256x144" makes it freeze for minutes, before the process gets killed.

There is no issue with a smaller net-resolution like "128x96" (at least no crash, but it takes up to 3 min to run!), but I am surprised because I was using this net-resolution on the Jetson TX2 and Openpose 1.6 (and even bigger net-resolution) and everything was working.

I can see with jtop that the memory (8GB) gets full pretty quickly.

Type of Issue

Your System Configuration

  1. Whole console output

    ./build/examples/openpose/openpose.bin --video ./examples/media/video.avi --net_resolution "256x144"
    Starting OpenPose demo...
    Configuring OpenPose...
    Starting thread(s)...
    Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0.
    killed
  2. OpenPose version: 1.7

  3. General configuration:

    • Installation mode:
      cmake .. -D CUDA_HOST_COMPILER=/usr/bin/cc \
      -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda \
      -D CUDA_USE_STATIC_CUDA_RUNTIME=ON \
      -D CUDA_rt_LIBRARY=/usr/lib/aarch64-linux-gnu/librt.so \
      -D CUDA_ARCH_BIN=7.2 \
      -D GPU_MODE=CUDA \
      -D DOWNLOAD_FACE_MODEL=ON \
      -D DOWNLOAD_COCO_MODEL=ON \
      -D USE_OPENCV=ON \
      -D BUILD_PYTHON=OFF \
      -D BUILD_EXAMPLES=ON \
      -D BUILD_DOCS=OFF \
      -D DOWNLOAD_HAND_MODEL=ON
      make -j`nproc`
cat /etc/nv_tegra_release 
 R32 (release), REVISION: 5.1, GCID: 26202423, BOARD: t186ref, EABI: aarch64
  1. 3rd-party software:

    • Caffe version: Default from OpenPose
    • CMake version: 3.21.0-rc2
  2. GPU mode issue:

    • CUDA version: 10.2
    • cuDNN version: 8.0
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.

agrija9 commented 2 years ago

SImilar issue.

I have a similar system configuration and when I try to run the image demo, my process is killed.

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

Did you find the cause of this execution error?

xiepip commented 2 years ago

hi @agrija9 ,I meet the same problem now. Did you fix it?