kitzeslab / opensoundscape

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

allow audio_root arg in predict() API #1080

Open sammlapp opened 1 day ago

sammlapp commented 1 day ago

convenient to have the clip dataframe list audio paths relative to a root directory, then specify the root

for instance instead of file path being /drive/data/project/folder/aru1/file.wav could be aru1/file.wav, passing audio_root="/drive/data/project/folder"