This commit is contained in:
Glenn Jocher 2019-11-17 17:17:52 -08:00
parent bb936f758a
commit b4a71d0588
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ COPY . /usr/src/app
# sudo nvidia-docker run --ipc=host --mount type=bind,source="$(pwd)"/coco,target=/usr/src/coco ultralytics/yolov3:v0 python3 train.py # 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 # 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 # export tag=ultralytics/yolov3:v0 && sudo docker pull $tag && sudo nvidia-docker run -it --ipc=host --mount type=bind,source="$(pwd)"/coco,target=/usr/src/coco $tag python3 train.py
# Build and Push # Build and Push
# export tag=ultralytics/yolov3:v0 && sudo docker build -t $tag . && sudo docker push $tag # export tag=ultralytics/yolov3:v0 && sudo docker build -t $tag . && sudo docker push $tag