greenhouse/weights/download_weights.sh

13 lines
290 B
Bash
Raw Normal View History

#!/bin/bash
# Download latest models from https://github.com/ultralytics/yolov3/releases
# Usage:
# $ bash weights/download_weights.sh
python - <<EOF
from utils.google_utils import attempt_download
for x in ['yolov3', 'yolov3-spp', 'yolov3-tiny']:
attempt_download(f'{x}.pt')
EOF