- minor addition to the web demo writeup
[face-privacy-filter.git] / bin / run_local.sh
1 #!/bin/bash
2 #------------------------------------------------------------------------
3 #  run_local.sh - locally starts a face privacy filter instance
4 #------------------------------------------------------------------------
5
6 # infer the project location
7 MODEL_DIR=$(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) )
8 echo "Local run directory '$MODEL_DIR'..."
9
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 $*