From ee319aeefd97d99fcaac499d148116c71b83397f Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 9 Oct 2019 03:16:27 +0200 Subject: [PATCH] updates --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8e0ca295..7b24ad1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,6 +55,9 @@ COPY . /usr/src/app # Run with local directory access # sudo nvidia-docker run --ipc=host --mount type=bind,source="$(pwd)"/coco,target=/usr/src/coco ultralytics/yolov3:v0 python3 train.py +# Pull and Run with local directory access +# export tag=ultralytics/yolov3:v0 && sudo docker pull $tag && sudo nvidia-docker run --ipc=host --mount type=bind,source="$(pwd)"/coco,target=/usr/src/coco $tag python3 train.py + # Build and Push # export tag=ultralytics/yolov3:v0 && sudo docker build -t $tag . && docker push $tag