Skip to content

Commit

Permalink
fix config path and rename output to job-dir in run_example.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemekPobrotyn committed Apr 7, 2020
1 parent 84731a9 commit 13c2005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ DIR=$(dirname $0)
PROJECT_DIR="$(cd $DIR/..; pwd)"

docker build -t allrank:latest $PROJECT_DIR
docker run -e PYTHONPATH=/allrank -v $PROJECT_DIR:/allrank allrank:latest /bin/sh -c 'python allrank/data/generate_dummy_data.py && python allrank/main.py --config-file-name allrank/config.json --run-id test_run --output /allrank/test_run'
docker run -e PYTHONPATH=/allrank -v $PROJECT_DIR:/allrank allrank:latest /bin/sh -c 'python allrank/data/generate_dummy_data.py && python allrank/main.py --config-file-name /allrank/scripts/local_config.json --run-id test_run --job-dir /allrank/test_run'

0 comments on commit 13c2005

Please sign in to comment.