Models#
BirdNET-Analyzer offers three models. Choose one under Model selection in the GUI or with an option on the command line. A classifier you trained yourself is a further choice, see Training custom classifiers.
BirdNET 3.0 |
BirdNET 2.4 |
Perch v2 |
|
|---|---|---|---|
Command line |
the default |
|
|
Classes |
11,725 |
6,522 |
14,795 |
Species |
11,709, of them 9,788 birds |
6,511, of them 6,421 birds |
14,597 |
Other sounds |
16 classes, such as engines and sirens |
11 classes, three of them for human sounds |
198 classes |
Segment length |
3 s |
3 s |
5 s |
Label languages |
29 |
27 |
scientific names only |
Sensitivity setting |
applies |
applies |
does not apply |
Species by location |
BirdNET 3.0 location model |
species range model of BirdNET 2.4 |
not offered in the GUI |
Training a custom classifier |
yes |
yes |
no |
On your computer |
part of the installers and Linux packages |
downloaded at first use (77 MB) |
downloaded at first use (379 MB) |
The GUI shows the classes, label languages, segment length and location filter of the selected model below the choice. In BirdNET 3.0, people are a species among the mammals, Human (Homo sapiens).
BirdNET 3.0#
The default model. The BirdNET team publishes it as BirdNET+ V3.0 Global 12K; What’s new in BirdNET-Analyzer 3.0 compares it with BirdNET 2.4.
32 kHz sampling rate and 3-second segments; recordings with another sampling rate are resampled
embedding size of 1280
runs on ONNX Runtime
location filters and species lists for a location come from the BirdNET 3.0 location model (BirdNET+ Geomodel V3.0.4, 14,082 classes), which also predicts species the acoustic model does not have
Where it comes from:
Model files: Zenodo, DOI 10.5281/zenodo.24362980. BirdNET-Analyzer uses version 3.0.1 of the files.
Architecture, training, code examples and benchmarks: birdnet-V3.0-dev
Species names and their IDs: BirdNET+ Taxonomy
BirdNET 2.4#
The model of BirdNET-Analyzer 2.x, from June 2023. Use it to continue a project that was started with it; see Upgrading from 2.4. The Mac app contains it, elsewhere the first use downloads it.
48 kHz sampling rate and 3-second segments; recordings with another sampling rate are resampled
EfficientNetB0-like backbone with an embedding size of 1024
0.826 GFLOPs, 50.5 MB as FP32
runs on TensorFlow Lite
a location filter uses the species range model V2.4 - V2 of January 2024, which is based on eBird data and downloaded at first use (46 MB); Species lists describes it and its limits
The model computes two mel spectrograms of each segment as its input:
the first with fmin = 0 Hz and fmax = 3000 Hz; nfft = 2048; hop size = 278; 96 mel bins
the second with fmin = 500 Hz and fmax = 15 kHz; nfft = 1024; hop size = 280; 96 mel bins
Both have a final resolution of 96x511 pixels. The audio is normalized between -1 and 1 before, and the magnitudes are scaled non-linearly as described by Schlüter 2018.
Where it comes from:
Model files: Zenodo, DOI 10.5281/zenodo.15050749
Architecture: this comment
Species range model: this discussion post
Perch v2#
A bioacoustics model by Google, called Perch 2.0 in its paper.
32 kHz sampling rate and 5-second segments
embedding size of 1536
14,597 species, named by their scientific name only, and 198 sound classes such as Aircraft and Dog
confidences are softmax probabilities, which add up to 1 over all classes of a segment; like the BirdNET scores, they are not the probability that a detection is correct. The sensitivity setting does not apply
runs on TensorFlow
downloaded the first time it is used (379 MB)
Where it comes from:
Model: Kaggle
Code: perch-hoplite
Licenses#
The BirdNET 3.0 models, the acoustic model and its location model, are licensed under the Apache License 2.0 and come with an acceptable use policy. BirdNET 2.4 and the older BirdNET models are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0). Perch v2 has its own license, which its model page states.
To cite BirdNET in a publication, see Citing BirdNET-Analyzer.
Older BirdNET models#
The models V1.1 to V2.1 and V2.3 can still be used, as a Custom classifier in the
GUI or with --classifier on the command line. V2.2 cannot be loaded, and the App model
has no TFLite file. Download the model and unzip it.
GUI: Copy the
*_Labels.txtfile of the model to the name of the*_Model_FP32.tflitefile with_Labels.txtin place of.tflite, for exampleBirdNET_GLOBAL_3K_V2.3_Model_FP32_Labels.txt, then select the*_Model_FP32.tflitefile under Model selection, Custom classifier. The summary shown below the model choice tells you which BirdNET version the classifier’s layout matches, how many classes it has and whether it replaces or extends the official classes, so you can check that the right file was picked.CLI:
python -m birdnet_analyzer.analyze ... --classifier 'path_to_Model_FP32.tflite' --cc_species_list 'path_to_Labels.txt'
Version |
Classes |
Notes |
Download |
|---|---|---|---|
V2.3 |
3,337 worldwide, incl. 11 non-event classes |
Embedding size of 1024 instead of 320; 36.4 MB as FP32, 0.698 GFLOPs. |
|
V2.2 |
3,337 worldwide, incl. 11 non-event classes |
Smaller and faster than V2.1 (21.3 MB as FP32, 1.31 GFLOPs). Cannot be loaded. |
|
V2.1 |
2,434 worldwide, incl. 11 non-event classes |
Architecture of V2.0, extended 2022 training data. |
|
V2.0 |
1,328 worldwide, incl. 11 non-event classes |
Design of V1.4, but wider; extended 2022 training data. |
|
V1.4 |
1,133 birds and non-birds, North America and Europe |
Smaller, deeper and faster, 30 % of the size of V1.3; linear spectrogram and EfficientNet blocks; extended 2021 training data. |
|
V1.3 |
1,133 birds and non-birds, North America and Europe |
Linear frequency scale for the spectrograms; V2 fusion blocks and V1 efficient blocks; extended 2021 training data. |
|
V1.2 |
1,133 birds and non-birds, North America and Europe |
Based on EfficientNet V2 blocks; V2 fusion blocks and V1 efficient blocks; extended 2021 training data. |
|
V1.1 |
1,133 birds and non-birds, North America and Europe |
Based on Wide-ResNet, like the App model; extended 2021 training data. |
|
App model |
about 3,000 species worldwide |
Based on Wide-ResNet; made for the BirdNET app. No TFLite file. |