From 88e0694167edee2109ed6046547ea0619dd5bfd9 Mon Sep 17 00:00:00 2001 From: lext Date: Wed, 27 Nov 2019 21:12:07 +0200 Subject: [PATCH] fixed a bug in GPU deployment script --- docker/docker-compose-gpu.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose-gpu.yml b/docker/docker-compose-gpu.yml index f503eaa..94c1a67 100644 --- a/docker/docker-compose-gpu.yml +++ b/docker/docker-compose-gpu.yml @@ -32,9 +32,12 @@ services: source: ../snapshots_knee_grading/ # The snapshots are stored in the root directory target: /snapshots/ read_only: true + - type: bind + source: ../logs + target: /logs/ environment: - KNEEL_ADDR=http://kneel:5000 entrypoint: ["python", "-m", "ouludeepknee.inference.app", "--snapshots_path", "/snapshots/", "--device", "cuda", "--deploy", "True", - "--port", "5001", "--logs", "/logs/deepknee-cpu.log"] + "--port", "5001", "--logs", "/logs/deepknee-gpu.log"]