mambazjp's picture
Upload 82 files
8870024
raw
history blame
459 Bytes
#!/bin/bash
if [ "$#" -le 1 ]; then
echo "usage: run_step3.sh <path_to_subject_directory> <output_directory> [options]" >&2
exit 1
fi
SUBJ="$1"
OUT="$2"
if [[ $SUBJ = *"female"* ]]; then
MODEL='--model vendor/smpl/models/basicModel_f_lbs_10_207_0_v1.0.0.pkl'
fi
python step3_texture.py $SUBJ/consensus.pkl $SUBJ/camera.pkl $SUBJ/$(basename $SUBJ).mp4 $SUBJ/reconstructed_poses.hdf5 $SUBJ/masks.hdf5 $OUT/tex-$(basename $SUBJ).jpg $MODEL ${@:3}