yolov5 / weights /download_weights.sh
glenn-jocher's picture
Update download_weights.sh with usage example (#1613)
efa7a91 unverified
raw
history blame
277 Bytes
#!/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