glenn-jocher commited on
Commit
8dc68fc
1 Parent(s): 1445ab2

Update Dockerfile (#2016)

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -42,10 +42,10 @@ COPY . /usr/src/app
42
  # sudo docker kill $(sudo docker ps -a -q --filter ancestor=ultralytics/yolov5:latest)
43
 
44
  # Bash into running container
45
- # sudo docker container exec -it ba65811811ab bash
46
 
47
  # Bash into stopped container
48
- # sudo docker commit 092b16b25c5b usr/resume && sudo docker run -it --gpus all --ipc=host -v "$(pwd)"/coco:/usr/src/coco --entrypoint=sh usr/resume
49
 
50
  # Send weights to GCP
51
  # python -c "from utils.general import *; strip_optimizer('runs/train/exp0_*/weights/best.pt', 'tmp.pt')" && gsutil cp tmp.pt gs://*.pt
 
42
  # sudo docker kill $(sudo docker ps -a -q --filter ancestor=ultralytics/yolov5:latest)
43
 
44
  # Bash into running container
45
+ # sudo docker exec -it 5a9b5863d93d bash
46
 
47
  # Bash into stopped container
48
+ # id=5a9b5863d93d && sudo docker start $id && sudo docker exec -it $id bash
49
 
50
  # Send weights to GCP
51
  # python -c "from utils.general import *; strip_optimizer('runs/train/exp0_*/weights/best.pt', 'tmp.pt')" && gsutil cp tmp.pt gs://*.pt