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

download_weights.sh 277B

4 years ago
4 years ago
123456789101112
  1. #!/bin/bash
  2. # Download latest models from https://github.com/ultralytics/yolov5/releases
  3. # Usage:
  4. # $ bash weights/download_weights.sh
  5. python - <<EOF
  6. from utils.google_utils import attempt_download
  7. for x in ['s', 'm', 'l', 'x']:
  8. attempt_download(f'yolov5{x}.pt')
  9. EOF