r/BirdNET_Analyzer • u/aptsh • Jan 18 '25
Ideal computer build for running BirdNET on large datasets?
I am starting a research project that will be using hundreds of ARUs to monitor bird communities across the state. Using some preliminary data, I have been running analyses (via Python) using BirdNET on my desktop (Windows 11, Intel i7-14700 2.10 GHz, 32GB RAM), but it rapidly overloads my CPU and memory. Once we start collecting data in earnest, it will quickly become untenable to run everything on a standard desktop.
My research group had talked about buying/building a workstation specifically for these analyses, but we don't know where the best place is to put our money. Storage space is obviously a big issue, but what about CPU, GPU, RAM, etc.? What specs have people found to be best for running BirdNET? To put it another way, in a perfect world (within reason), what would an ideal build look like for running large datasets through BirdNET? We are also considering buying access to our university's supercomputer, but that comes with a host of other issues that would need to be addressed. Any advice or personal experience with this would be much appreciated. Thanks!
7
u/thakala Jan 19 '25
I am the developer of BirdNET-Go, which is a Golang implementation of BirdNET analyzer. While it is mainly developed for real-time audio analysis as a hobby project, it also includes an audio file analysis mode that can be used for serious use cases like yours.
BirdNET-Go is very resource efficient and is currently the fastest CPU-based BirdNET analyzer available. It is far more resource efficient than the Python-based BirdNET Analyzer - for example, memory usage for file analysis is less than 300 megabytes. Neither implementation can use GPU resources at the moment, so spending on a GPU would be a waste of money.
The fastest system I have tested BirdNET-Go on so far is the Apple MacBook M4 Pro, which outperformed even my Intel i7 13700k desktop. I have published some benchmark numbers at https://github.com/tphakala/birdnet-go/discussions/359. Inference refers to the analysis of a 3-second audio segment (this is what BirdNET actually analyzes), so lower inference time and higher number of inferences/sec indicate better performance.
BirdNET-Go currently supports only WAV and FLAC audio files. I believe most ARUs record in WAV format, so this shouldn't be a problem? For output formats, it supports Raven Pro table and CSV. Would either of these meet your needs, or do you have specific output format requirements?
Here's a quick start guide if you want to try BirdNET-Go:
File analysis can be run in two ways:
For a single audio file:
birdnet-go.exe file audio-file.wav -output directory-where-to-output-raven-tableFor multiple audio files in a directory:
birdnet-go.exe directory c:\audio\files\ -output c:\audio\output\BirdNET-Go is an open source project, so if it lacks any features you need, you're welcome to contribute improvements. I can also enhance the file analysis functionality if you have specific requirements. One feature I think could be useful is adding a watch mode for file analysis - this would allow birdnet-go.exe to monitor a network share and automatically analyze new audio files as they're added, outputting Raven tables to a specified location. This would allow parallel analysis across multiple systems.
But to sum up, you don't need a monster system for BirdNET analysis.
3
u/it_aint_tony_bennett Jan 19 '25
Can you describe your anticipated workflow in more detail?
I'd try different types of "images" on AWS to see what you need (or Google Colab, etc. etc.)., but I just get a vibe that you don't need a monstrous workstation.Maybe something can be achieved by turning your code for analysis into a multi-threaded application, but I'm just speculating.
2
u/mynamefromreddit Jan 18 '25 edited Jan 18 '25
Hi, why not having all bird communities generate streams in rtsp and analyzing them from your single computer using dockerized birdnet-go or birdnet-pi? You could run multiple containers.
Birdnet-go should be more efficient for your usage as more modern and optimized underlying code, mariadb support for better handling of large amounts of data, and support for multiple rtsp streams identifications straight from the database. Also the dev is nice and super responsive. It runs on arm64 or amd64 and you should be able to analyze many rtsp streams before overloading your system. You can then analyse the data straight out of the database or using mqtt publishing.
The recording stations could be cheap small rpi3b connected to an electret microphone that convert the sound input to a rtsp stream using ffmpeg if you have a mean to bring it electricity and internet connection with 4g or wifi
1
u/Ricesim Apr 25 '25
Are you still working on this project? I'm super interested! I'm a Director of Technology for 6 campuses and we've been building "BirdNet" boxes out of old chromebooks.
1
u/JackBlanchart Aug 30 '25
Je suis juste un ingénieur retraité, analyste de données climatiques et je cherche à construire un ARU low-cost à partir d'un Raspberry Pi + caméra + micro + capteurs "météo" Je suis intéressé par toutes vos recherches. Quel est le moyen le plus simple pour suivre vos recherches (site internet, GitHub, Reddit ???)