Skip to content

Commit

Permalink
added run_kneel debug script
Browse files Browse the repository at this point in the history
  • Loading branch information
lext committed Dec 14, 2019
1 parent 75839c3 commit 6db6ec4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ services:
ports:
- "5003:5003"
working_dir: /usr/src/app/
entrypoint: ["npm", "start"] ##["serve", "-l", "5003", "-s", "/usr/src/app/build"]
entrypoint: ["react-scripts", "start"] ##["serve", "-l", "5003", "-s", "/usr/src/app/build"]
2 changes: 1 addition & 1 deletion docker/docker-compose-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ services:
container_name: ui
ports:
- "5003:5003"
entrypoint: ["npm", "start"] ##["serve", "-l", "5003", "-s", "/usr/src/app/build"]
entrypoint: ["react-scripts", "start"] ##["serve", "-l", "5003", "-s", "/usr/src/app/build"]
5 changes: 5 additions & 0 deletions run_kneel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mkdir -p logs
python -u -m kneel.inference.app --lc_snapshot_path snapshots_release/lext-devbox_2019_07_14_16_04_41 \
--hc_snapshot_path snapshots_release/lext-devbox_2019_07_14_19_25_40 \
--refine True --mean_std_path snapshots_release/mean_std.npy \
--deploy True --device cpu --port 5000 --logs logs/kneel-cpu.log

0 comments on commit 6db6ec4

Please sign in to comment.