This commit is contained in:
Glenn Jocher 2019-12-21 19:39:45 -08:00
parent d56efafee1
commit 66fe3db8fb
1 changed files with 2 additions and 2 deletions

View File

@ -44,13 +44,13 @@ COPY . /usr/src/app
# --------------------------------------------------- Extras Below --------------------------------------------------- # --------------------------------------------------- Extras Below ---------------------------------------------------
# Build and Push # 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 # Run
# sudo nvidia-docker run --ipc=host ultralytics/yolov3:v0 python3 detect.py # sudo nvidia-docker run --ipc=host ultralytics/yolov3:v0 python3 detect.py
# Pull and Run with local directory access # 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 # Kill all
# sudo docker kill "$(sudo docker ps -q)" # sudo docker kill "$(sudo docker ps -q)"