From 66fe3db8fbd59bec98d45e46b97db02ea914cbde Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 21 Dec 2019 19:39:45 -0800 Subject: [PATCH] updates --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f53dc692..39ab1ee4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,13 +44,13 @@ COPY . /usr/src/app # --------------------------------------------------- Extras Below --------------------------------------------------- # Build and Push -# export t=ultralytics/yolov3:v0 && sudo docker build -t $t . && sudo docker push $t +# 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 # Pull and Run with local directory access -# export 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 nvidia-docker run -it --ipc=host -v "$(pwd)"/coco:/usr/src/coco $t # Kill all # sudo docker kill "$(sudo docker ps -q)"