From 6f777e2bc5853e13fad9f6a3fd9c6732f8fc6dc0 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 15 Jan 2020 11:22:06 -0800 Subject: [PATCH] updates --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bd6b088..91da5878 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,10 +47,10 @@ COPY . /usr/src/app # t=ultralytics/yolov3:v0 && sudo docker build -t $t . && sudo docker push $t # Run -# sudo nvidia-docker run --ipc=host ultralytics/yolov3:v0 python3 detect.py +# sudo docker run --gpus all --ipc=host ultralytics/yolov3:v0 python3 detect.py # Pull and Run with local directory access -# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo nvidia-docker run -it --ipc=host -v "$(pwd)"/coco:/usr/src/coco $t +# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run --gpus all -it --ipc=host -v "$(pwd)"/coco:/usr/src/coco $t # Kill all # sudo docker kill "$(sudo docker ps -q)" @@ -59,4 +59,4 @@ COPY . /usr/src/app # sudo docker kill $(sudo docker ps -a -q --filter ancestor=ultralytics/yolov3:v0) # Run bash for loop -# sudo nvidia-docker run --ipc=host ultralytics/yolov3:v0 while true; do python3 train.py --evolve; done +# sudo docker run --gpus all --ipc=host ultralytics/yolov3:v0 while true; do python3 train.py --evolve; done