Update docs

This commit is contained in:
Glenn Jocher 2025-03-20 20:07:54 +01:00
parent 6245d6db72
commit 88b80e02f3
3 changed files with 8 additions and 9 deletions

View File

@ -8,11 +8,10 @@
# ├── yolov8s.pt
# └── ...
python - <<EOF
python << EOF
from ultralytics.utils.downloads import attempt_download_asset
assets = [f"yolov8{size}{suffix}.pt" for size in "nsmlx" for suffix in ("", "-cls", "-seg", "-pose")]
for x in assets:
attempt_download_asset(f"weights/{x}")
EOF

View File

@ -11,11 +11,11 @@
if [ "$#" -gt 0 ]; then
for opt in "$@"; do
case "${opt}" in
--train) train=true ;;
--val) val=true ;;
--test) test=true ;;
--segments) segments=true ;;
--sama) sama=true ;;
--train) train=true ;;
--val) val=true ;;
--test) test=true ;;
--segments) segments=true ;;
--sama) sama=true ;;
esac
done
else

View File

@ -11,8 +11,8 @@
if [ "$#" -gt 0 ]; then
for opt in "$@"; do
case "${opt}" in
--train) train=true ;;
--val) val=true ;;
--train) train=true ;;
--val) val=true ;;
esac
done
else