Skip to content

Repository files navigation

  • tested with python 3.11
  • using uv:

uv venv --python 3.11 source .venv/bin/activate uv pip install -r requirements.txt

for mps, run export PYTORCH_ENABLE_MPS_FALLBACK=1


This repo builds on the bioacoustic data synthesic framework. It involves two stages.

  • stage 1 (isolator):

train-mask2former.py trains the mask2former model on the synthetic dataset to 'isolate' vocalisations. This is a single-class mask segmenentation of the spectrogram to precisely crop all vocalisations.

  • stage 2 (recogniser):

train-recogniser.py uses the trained isolator model to train a small MLP head with BirdNET to segment and classify vocalisations by species.

clone the birdnet analyzer repo and install it as a package i.e. uv pip install -e path-to-cloned-repo

the recogniser folder contains scripts for localisation and blind synchronisation using the recogniser model.

all parts of this framework are still undergoing testing and iteration. Please get in touch if you have any questions.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages