Brigalow-QLD-v1 / examples /predict_cli.sh
srg's picture
Brigalow v1 (1.0.0)
4a3ac26 verified
Raw History Blame Contribute Delete
728 Bytes
#!/usr/bin/env bash
# Brigalow, a model that maps woody-vegetation clearing in Queensland: map one small area for SLATS year 2024-25.
# Install: pip install . (onnxruntime, no PyTorch needed for ONNX weights)
# Masks (woody extent, fire scars, cropping) come from the public mirror -1/Brigalow-QLD-inputs by default, no key
# needed. Alternatives: --tern-root DIR (local files), or export TERN_API_KEY=... (TERN directly; no cropping maps).
set -euo pipefail
brigalow predict \
--bbox 146.60,-22.70,146.65,-22.65 \
--label-year 2025 \
--setting standard \
--weights weights/brigalow \
--out out_2025
# Results: out_2025/probability.tif (value/250 = probability), out_2025/alerts.gpkg and .geojson, out_2025/run.json