File size: 431 Bytes
8870024 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/bin/bash
if [ "$#" -le 1 ]; then
echo "usage: run_step2.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 step2_consensus.py $SUBJ/reconstructed_poses.hdf5 $SUBJ/masks.hdf5 $SUBJ/camera.pkl $OUT/consensus.pkl --obj_out $OUT/consensus.obj $MODEL ${@:3}
|