* Initial commit * Initial commit * Cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix precommit errors * Remove TF builds from CI * export last.pt * Created using Colaboratory * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
19 lines
474 B
Bash
Executable File
19 lines
474 B
Bash
Executable File
#!/bin/bash
|
|
# YOLOv3 🚀 by Ultralytics, GPL-3.0 license
|
|
# Download latest models from https://github.com/ultralytics/yolov3/releases
|
|
# Example usage: bash path/to/download_weights.sh
|
|
# parent
|
|
# └── yolov3
|
|
# ├── yolov3.pt ← downloads here
|
|
# ├── yolov3-spp.pt
|
|
# └── ...
|
|
|
|
python - <<EOF
|
|
from utils.downloads import attempt_download
|
|
|
|
models = ['yolov3', 'yolov3-spp', 'yolov3-tiny']
|
|
for x in models:
|
|
attempt_download(f'{x}.pt')
|
|
|
|
EOF
|