glenn-jocher commited on
Commit
239a11c
1 Parent(s): 6062319

Download COCO and VOC by default (#3608)

Browse files
Files changed (1) hide show
  1. utils/aws/userdata.sh +2 -1
utils/aws/userdata.sh CHANGED
@@ -9,7 +9,8 @@ if [ ! -d yolov5 ]; then
9
  echo "Running first-time script." # install dependencies, download COCO, pull Docker
10
  git clone https://github.com/ultralytics/yolov5 -b master && sudo chmod -R 777 yolov5
11
  cd yolov5
12
- bash data/scripts/get_coco.sh && echo "Data done." &
 
13
  sudo docker pull ultralytics/yolov5:latest && echo "Docker done." &
14
  python -m pip install --upgrade pip && pip install -r requirements.txt && python detect.py && echo "Requirements done." &
15
  wait && echo "All tasks done." # finish background tasks
 
9
  echo "Running first-time script." # install dependencies, download COCO, pull Docker
10
  git clone https://github.com/ultralytics/yolov5 -b master && sudo chmod -R 777 yolov5
11
  cd yolov5
12
+ bash data/scripts/get_coco.sh && echo "COCO done." &
13
+ bash data/scripts/get_voc.sh && echo "VOC done." &
14
  sudo docker pull ultralytics/yolov5:latest && echo "Docker done." &
15
  python -m pip install --upgrade pip && pip install -r requirements.txt && python detect.py && echo "Requirements done." &
16
  wait && echo "All tasks done." # finish background tasks