kitzeslab / opensoundscape

Open source, scalable software for the analysis of bioacoustic recordings
http://opensoundscape.org
MIT License
136 stars 16 forks source link

wrappers for bioacoustic-model-zoo classes #877

Closed sammlapp closed 11 months ago

sammlapp commented 1 year ago

would be nice to do something like from opensoundscape.models import perch, birdnet

sammlapp commented 11 months ago

release 0.10.1 includes a model zoo wrapper with the API: opensoundscape.ml.bioacoustics_model_zoo.load('Perch'), for 'Perch', 'BirdNET', 'YAMNet', or any other model listed by the function opensoundscape.ml.bioacoustics_model_zoo.list_models()

example:

from opensoundscape.ml import bioacoustics_model_zoo as bmz
m=bmz.load('Perch')
m.predict(...)