updates
This commit is contained in:
parent
d56efafee1
commit
66fe3db8fb
|
@ -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)"
|
||||||
|
|
Loading…
Reference in New Issue