VisionScore/yolov5/weights/download_weights.sh

13 lines
277 B
Bash
Raw Normal View History

2021-01-04 16:43:22 +01:00
#!/bin/bash
# Download latest models from https://github.com/ultralytics/yolov5/releases
# Usage:
# $ bash weights/download_weights.sh
python - <<EOF
from utils.google_utils import attempt_download
for x in ['s', 'm', 'l', 'x']:
attempt_download(f'yolov5{x}.pt')
EOF