mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-04-04 23:30:21 +02:00
899 B
899 B
Tutorial: Evaluate on a test set
This tutorial shows how to evaluate a trained checkpoint on a held-out dataset and inspect the output metrics.
Before you start
- A trained model checkpoint.
- A test dataset config file.
- (Optional) Targets, audio, inference, and evaluation config overrides.
Tutorial steps
- Select a checkpoint and a test dataset.
- Run
batdetect2 evaluate. - Inspect output metrics and prediction artifacts.
- Record evaluation settings for reproducibility.
Example command
batdetect2 evaluate \
path/to/model.ckpt \
path/to/test_dataset.yaml \
--output-dir path/to/eval_outputs
What to do next
- Compare thresholds on representative files:
{doc}
../how_to/tune-detection-threshold - Check full evaluate options: {doc}
../reference/cli/evaluate
This page is a starter scaffold and will be expanded with a full worked example.