This uses Singularity containers, so you should refer to that page first for general information.
OpenPose has been compiled against OpenBlas, Caffe, CUDA and cuDNN. Image is based on a nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 docker image.
Dockerfile for this image is available here.
Within the container OpenPose is installed under
/opt/openpose. Due to
the way the libraries are organized,
singularity_wrapper changes the
working directory to
Running OpenPose example¶
One can run this example with
wget https://raw.githubusercontent.com/AaltoSciComp/scicomp-docs/master/triton/examples/openpose/openpose.sh module load singularity-openpose sbatch openpose.slrm
sbatch script is
#!/bin/bash #SBATCH --time=00:10:00 #SBATCH --mem=8G #SBATCH --gres=gpu:1 module load singularity-openpose/v1.5.1 # Print out usage flags singularity_wrapper exec openpose --help # Run example singularity_wrapper exec openpose --video /opt/openpose/examples/media/video.avi --display 0 --write_video $(pwd)/openpose.avi