瀏覽代碼

Download COCO and VOC by default (#3608)

modifyDataloader
Glenn Jocher GitHub 3 年之前
父節點
當前提交
239a11c197
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      utils/aws/userdata.sh

+ 2
- 1
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

Loading…
取消
儲存