Update script headers (#4163)

* Update download script headers

* cleanup

* bug fix attempt

* bug fix attempt2

* bug fix attempt3

* cleanup
This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-07-26 15:23:33 +02:00
1 parent f8e11483df
commit 0ad6301c96
9 files changed
+36 -32

No files matched your search

+7 -2
View File
@@ -1,7 +1,12 @@
#!/bin/bash
# Copyright Ultralytics https://ultralytics.com, licensed under GNU GPL v3.0
# Download latest models from https://github.com/ultralytics/yolov5/releases
# Usage:
# $ bash path/to/download_weights.sh
# YOLOv5 🚀 example usage: bash path/to/download_weights.sh
# parent
# └── yolov5
# ├── yolov5s.pt ← downloads here
# ├── yolov5m.pt
# └── ...
python - <<EOF
from utils.google_utils import attempt_download