easyBAD is clean implementation of Bird Activity Detection (BAD) in pyTorch.
Identify bird activities for single waveform.
python infer-bad-single.py --data example_bird.wav --model-bad easyBAD.pt --device cpuIdentify bird activities from wavform directory
python infer-bad-dir.py --data dir/to/wavs --model-bad easyBAD.pt --device cpu -o out.txtthe output file will be in the format of
utt_id hasBird Logits