Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher 2019-09-04 14:08:39 +02:00
parent fd79bd474b
commit 2e6ac2228a
1 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,10 @@ COPY . /usr/src/app
# sudo docker image prune -af && sudo docker build -t ultralytics/yolov3:v0 . # sudo docker image prune -af && sudo docker build -t ultralytics/yolov3:v0 .
# Run container # Run container
# time sudo nvidia-docker run ultralytics/yolov3:v0 python3 detect.py # sudo nvidia-docker run --ipc=host ultralytics/yolov3:v0 python3 detect.py
# Run container accesing local directory
# sudo nvidia-docker run --ipc=host --mount type=bind,source="$(pwd)"/coco,target=/usr/src/coco ultralytics/yolov3:v0 python3 train.py
# Push container to https://hub.docker.com/u/ultralytics # Push container to https://hub.docker.com/u/ultralytics
# sudo docker push ultralytics/yolov3:v0 # docker push ultralytics/yolov3:v0