Skip to content

Commit

Permalink
Download COCO and VOC by default (ultralytics#3608)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Jun 14, 2021
1 parent 6062319 commit 239a11c
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 @@ -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
Expand Down

0 comments on commit 239a11c

Please sign in to comment.