This commit is contained in:
Glenn Jocher 2019-10-09 03:16:27 +02:00
parent 500a798787
commit ee319aeefd
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ COPY . /usr/src/app
# Run with local directory access # 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 # 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 # Build and Push
# export tag=ultralytics/yolov3:v0 && sudo docker build -t $tag . && docker push $tag # export tag=ultralytics/yolov3:v0 && sudo docker build -t $tag . && docker push $tag