From 3e28d351132f833d7510924bf9d47f578a8dc8a1 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 14 Jun 2021 13:58:54 +0200 Subject: [PATCH] Download COCO and VOC by default (#3608) (cherry picked from commit 239a11c19777d8b5d4e2a69aac2cc83796313fd3) --- utils/aws/userdata.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/aws/userdata.sh b/utils/aws/userdata.sh index 5846fedb16f9..52c0fe33d90f 100644 --- a/utils/aws/userdata.sh +++ b/utils/aws/userdata.sh @@ -9,7 +9,8 @@ if [ ! -d yolov5 ]; then echo "Running first-time script." # install dependencies, download COCO, pull Docker git clone https://github.com/ultralytics/yolov5 -b master && sudo chmod -R 777 yolov5 cd yolov5 - bash data/scripts/get_coco.sh && echo "Data done." & + bash data/scripts/get_coco.sh && echo "COCO done." & + bash data/scripts/get_voc.sh && echo "VOC 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." & wait && echo "All tasks done." # finish background tasks