Download examples/predict_cli.sh from -1/Brigalow-QLD-v1: direct link, hf CLI and curl.
- Browser
- Download file 728 Bytes
-
https://huggingface.co/-1/Brigalow-QLD-v1/resolve/main/examples/predict_cli.sh
- Command line
-
hf download hf://-1/Brigalow-QLD-v1/examples/predict_cli.sh
-
curl -L -o predict_cli.sh https://huggingface.co/-1/Brigalow-QLD-v1/resolve/main/examples/predict_cli.sh
728 Bytes
| # 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 | |