您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
443B

  1. #!/bin/bash
  2. # YOLOv5 🚀 by Ultralytics, GPL-3.0 license
  3. # Download latest models from https://github.com/ultralytics/yolov5/releases
  4. # Example usage: bash path/to/download_weights.sh
  5. # parent
  6. # └── yolov5
  7. # ├── yolov5s.pt ← downloads here
  8. # ├── yolov5m.pt
  9. # └── ...
  10. python - <<EOF
  11. from utils.downloads import attempt_download
  12. for x in ['s', 'm', 'l', 'x']:
  13. attempt_download(f'yolov5{x}.pt')
  14. EOF