Skip to content

Commit

Permalink
AWS wait && echo "All tasks done." (ultralytics#2391)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Mar 8, 2021
1 parent 04b314f commit 0047e3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/aws/userdata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0047e3e

Please sign in to comment.