AWS wait && echo "All tasks done." (#2391)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-03-07 20:18:30 -08:00
1 parent ba18528b47
commit 7c2c95732c
1 file changed
+2 -1
+2 -1
View File
@@ -11,7 +11,8 @@ if [ ! -d yolov5 ]; then
cd yolov5
bash data/scripts/get_coco.sh && echo "Data done." &
sudo docker pull ultralytics/yolov5:latest && echo "Docker done." &
# python -m pip install --upgrade pip && pip install -r requirements.txt && python detect.py && echo "Requirements done." &
python -m pip install --upgrade pip && pip install -r requirements.txt && python detect.py && echo "Requirements done." &
wait && echo "All tasks done." # finish background tasks
else
echo "Running re-start script." # resume interrupted runs
i=0