detect_plate/weights/download_weights.sh

13 lines
278 B
Bash
Raw Permalink Normal View History

2024-08-07 09:32:38 +08:00
#!/bin/bash
# Download latest models from https://github.com/ultralytics/yolov5/releases
# Usage:
# $ bash weights/download_weights.sh
python3 - <<EOF
from utils.google_utils import attempt_download
for x in ['s', 'm', 'l', 'x']:
attempt_download(f'yolov5{x}.pt')
EOF