OpenPose

This uses Singularity containers, so you should refer to that page first for general information.

OpenPose has been compiled against system OpenBLAS and most recent Caffe, CUDA and cuDNN. Image is based on a Ubuntu 16.04 base image.

Within the container OpenPose is installed under /opt/openpose. Due to the way the examples are organized, the singularity_wrapper changes the working directory to /opt/openpose.

Example script to be run with srun can be seen below.

Usage

#!/bin/bash
#SBATCH -t 00:10:00
#SBATCH -n 1
#SBATCH --gres=gpu:teslak80:1
#SBATCH --mem=8G

module use /share/apps2/singularity/modules
module purge
module load OpenPose

singularity_wrapper exec ./build/examples/openpose/openpose.bin --video examples/media/video.avi --no_display --write_video $WRKDIR/openpose.avi