Browse Source

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

5.0
Glenn Jocher GitHub 3 years ago
parent
commit
7c2c95732c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/aws/userdata.sh

+ 2
- 1
utils/aws/userdata.sh 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

Loading…
Cancel
Save