2 #------------------------------------------------------------------------
3 # run_local.sh - locally starts a face privacy filter instance
4 #------------------------------------------------------------------------
6 # infer the project location
7 MODEL_DIR=$(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) )
8 echo "Local run directory '$MODEL_DIR'..."
10 # inject into python path and run with existing args (for unix-like environments)
11 PYTHONPATH="$MODEL_DIR:$PYTHONPATH" python $MODEL_DIR/bin/run_face-privacy-filter_reference.py $*