You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

get_coco.sh 820 B

3 years ago
12345678910111213141516171819202122
  1. #!/bin/bash
  2. # COCO 2017 dataset http://cocodataset.org
  3. # Download command: bash ./scripts/get_coco.sh
  4. # Download/unzip labels
  5. d='./' # unzip directory
  6. url=https://github.com/ultralytics/yolov5/releases/download/v1.0/
  7. f='coco2017labels-segments.zip' # or 'coco2017labels.zip', 68 MB
  8. echo 'Downloading' $url$f ' ...'
  9. curl -L $url$f -o $f && unzip -q $f -d $d && rm $f & # download, unzip, remove in background
  10. # Download/unzip images
  11. d='./coco/images' # unzip directory
  12. url=http://images.cocodataset.org/zips/
  13. f1='train2017.zip' # 19G, 118k images
  14. f2='val2017.zip' # 1G, 5k images
  15. f3='test2017.zip' # 7G, 41k images (optional)
  16. for f in $f1 $f2 $f3; do
  17. echo 'Downloading' $url$f '...'
  18. curl -L $url$f -o $f && unzip -q $f -d $d && rm $f & # download, unzip, remove in background
  19. done
  20. wait # finish background tasks

随着人工智能和大数据的发展,任一方面对自动化工具有着一定的需求,在当下疫情防控期间,使用mindspore来实现yolo模型来进行目标检测及语义分割,对视频或图片都可以进行口罩佩戴检测和行人社交距离检测,来对公共场所的疫情防控来实行自动化管理。