openpose icon indicating copy to clipboard operation
openpose copied to clipboard

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

Open DiXcipuli opened this issue 3 years ago • 3 comments

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

  • Execution error

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
  1. OpenPose version: 1.7

  2. 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`
  • Operating system: Jetpack 4.5
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

DiXcipuli avatar Jul 14 '21 11:07 DiXcipuli

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.

stale[bot] avatar Jan 09 '22 06:01 stale[bot]

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?

agrija9 avatar Feb 17 '22 20:02 agrija9

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

xiepip avatar Jul 27 '22 06:07 xiepip