batdetect2/docs/source/tutorials/run-inference-on-folder.md
2026-03-28 11:28:52 +00:00

735 B

Tutorial: Run inference on a folder of audio files

Prerequisites

  • BatDetect2 installed in your environment.
  • A folder containing .wav files.
  • A model checkpoint path.

Steps

  1. Choose your input and output directories.
  2. Run prediction with the CLI.
  3. Verify output files were written.
  4. Inspect predictions and confidence scores.

Example command

batdetect2 predict directory \
  path/to/model.ckpt \
  path/to/audio_dir \
  path/to/outputs

What to do next

  • Use {doc}../how_to/tune-detection-threshold to tune sensitivity.
  • Use {doc}../reference/cli for full command options.

Note: this is the initial Phase 1 scaffold and will be expanded with a full, validated end-to-end walkthrough.