From 2e6ac2228a5477c81b2ff57b1ff8437be9b33616 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 4 Sep 2019 14:08:39 +0200 Subject: [PATCH] updates Signed-off-by: Glenn Jocher --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 231ab316..032a3946 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,10 @@ COPY . /usr/src/app # sudo docker image prune -af && sudo docker build -t ultralytics/yolov3:v0 . # Run container -# time sudo nvidia-docker run ultralytics/yolov3:v0 python3 detect.py +# sudo nvidia-docker run --ipc=host ultralytics/yolov3:v0 python3 detect.py + +# Run container accesing local directory +# sudo nvidia-docker run --ipc=host --mount type=bind,source="$(pwd)"/coco,target=/usr/src/coco ultralytics/yolov3:v0 python3 train.py # Push container to https://hub.docker.com/u/ultralytics -# sudo docker push ultralytics/yolov3:v0 +# docker push ultralytics/yolov3:v0