mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-04-04 15:20:19 +02:00
1.1 KiB
1.1 KiB
Pipeline overview
batdetect2 processes recordings as a sequence of modules. Each stage has a clear role and configuration surface.
End-to-end flow
- Audio loading
- Preprocessing (waveform -> spectrogram)
- Detector forward pass
- Postprocessing (peaks, decoding, thresholds)
- Output formatting and export
Why the modular design matters
The model, preprocessing, postprocessing, targets, and output formatting are configured separately. That makes it easier to:
- swap components without rewriting the whole pipeline,
- keep experiments reproducible,
- adapt workflows to new datasets.
Core objects in the stack
BatDetect2APIorchestrates training, inference, and evaluation workflows.ModelConfigdefines architecture, preprocessing, postprocessing, and targets.Targetscontrols event filtering, class encoding/decoding, and ROI mapping.
Related pages
- Preprocessing rationale: {doc}
preprocessing-consistency - Postprocessing rationale: {doc}
postprocessing-and-thresholds - Target rationale: {doc}
target-encoding-and-decoding