batdetect2/docs/source/how_to/run-batch-predictions.md
2026-03-28 13:25:15 +00:00

31 lines
615 B
Markdown

# How to run batch predictions
This guide shows practical command patterns for directory-based and file-list
prediction runs.
## Predict from a directory
```bash
batdetect2 predict directory \
path/to/model.ckpt \
path/to/audio_dir \
path/to/outputs
```
## Predict from a file list
```bash
batdetect2 predict file_list \
path/to/model.ckpt \
path/to/audio_files.txt \
path/to/outputs
```
## Useful options
- `--batch-size` to control throughput.
- `--workers` to set data-loading parallelism.
- `--format` to select output format.
For complete option details, see {doc}`../reference/cli/index`.