#!/usr/bin/env bash # Holt die beiden Modelle. Sie liegen nicht im Repo — zusammen rund 10 MB, und # sie ändern sich nie. set -euo pipefail DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/models" BASE="https://github.com/google-coral/test_data/raw/master" mkdir -p "$DIR" for f in \ mobilenet_v2_1.0_224_inat_bird_quant.tflite \ inat_bird_labels.txt \ ssd_mobilenet_v2_coco_quant_postprocess.tflite \ coco_labels.txt do if [[ -s "$DIR/$f" ]]; then echo "vorhanden: $f" continue fi echo "lade: $f" curl -fsSL -o "$DIR/$f" "$BASE/$f" done echo "Fertig. Modelle liegen in $DIR"