Yolov5s/weights/download_weights.sh
2026-03-11 16:13:59 +08:00

11 lines
228 B
Bash

#!/bin/bash
# Download latest models from https://github.com/ultralytics/yolov5/releases
python - <<EOF
from utils.google_utils import attempt_download
for x in ['s', 'm', 'l', 'x']:
attempt_download(f'yolov5{x}.pt')
EOF