Skip to content

Instantly share code, notes, and snippets.

View raghavauppuluri13's full-sized avatar
🎯
Focusing

Raghava Uppuluri raghavauppuluri13

🎯
Focusing
View GitHub Profile
@raghavauppuluri13
raghavauppuluri13 / export-tensorrt.py
Created October 14, 2025 20:47
Export ultralytics models via tensorrt on Jetson Orin Nano
# /// script
# dependencies = [
# "bbos",
# "torch",
# "ultralytics",
# "onnx",
# "onnxruntime",
# "onnxruntime-gpu",
# "onnxslim",
# ]
@raghavauppuluri13
raghavauppuluri13 / flash-jetson.sh
Last active October 17, 2025 00:32
Flash Jetpack 6.2 on jetson orin nano
#!/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}"