This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /// script | |
| # dependencies = [ | |
| # "bbos", | |
| # "torch", | |
| # "ultralytics", | |
| # "onnx", | |
| # "onnxruntime", | |
| # "onnxruntime-gpu", | |
| # "onnxslim", | |
| # ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # DietPi flash for OrangePi5/5Pro (Linux + macOS) | |
| # - Auto-picks largest removable disk >=4GB | |
| # - No prompts (env: WIFI_SSID, WIFI_PASSWORD, HOSTNAME); only confirm target (skip with -y) | |
| set -Eeuo pipefail; shopt -s nullglob | |
| YES=0; [[ "${1:-}" == "-y" ]] && YES=1 | |
| TARGET="${TARGET:-OrangePi5Pro}" | |
| IMAGE="DietPi_${TARGET}-ARMv8-Bookworm.img.xz" | |
| URL="https://dietpi.com/downloads/images/${IMAGE}" |
OlderNewer