glenn-jocher
commited on
Commit
•
8dc68fc
1
Parent(s):
1445ab2
Update Dockerfile (#2016)
Browse files- 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
|
46 |
|
47 |
# Bash into stopped container
|
48 |
-
# sudo docker
|
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
|