Download COCO and VOC by default (#3608)

This commit is contained in:
Glenn Jocher 2021-06-14 13:58:54 +02:00 committed by GitHub
parent 6062319ec3
commit 239a11c197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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