Download COCO and VOC by default (#3608)
This commit is contained in:
parent
6062319ec3
commit
239a11c197
|
|
@ -9,7 +9,8 @@ if [ ! -d yolov5 ]; then
|
||||||
echo "Running first-time script." # install dependencies, download COCO, pull Docker
|
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
|
git clone https://github.com/ultralytics/yolov5 -b master && sudo chmod -R 777 yolov5
|
||||||
cd 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." &
|
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
|
wait && echo "All tasks done." # finish background tasks
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue