Skip to content

Commit fee83c1

Browse files
Weights download script minor improvements (#5213)
* Add nano model to the download list * Add possibility to also download the "*6" models * Cleanup Co-authored-by: Glenn Jocher <[email protected]>
1 parent e0c3f42 commit fee83c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

data/scripts/download_weights.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
python - <<EOF
1212
from utils.downloads import attempt_download
1313
14-
for x in ['s', 'm', 'l', 'x']:
14+
models = ['n', 's', 'm', 'l', 'x']
15+
models.extend([x + '6' for x in models]) # add P6 models
16+
17+
for x in models:
1518
attempt_download(f'yolov5{x}.pt')
1619
1720
EOF

0 commit comments

Comments
 (0)