Closed bmitc closed 1 year ago
Hi @bmitc, and my apologies for the delay in getting back to you.
The explicit classifier_labels_path
and classifier_model_path
arguments refer to the classifiers that are trained with BirdNET, not for the BirdNET models themselves. The BirdNET models (ie "BirdNET_GLOBAL_6K_V2.4_Model_FP32") are installed along with birdnetlib and used by the Analyzer
class.
If you update to 0.8.0 pip install birdnetlib==0.8.0
, then you can use the BirdNET 2.4 "6K" model by using the Analyzer
class as you've documented above.
Prior to 0.8.0 (June 2023), the library used the BirdNET 2.3 models.
If you're still seeing wildly inaccurate results, let me know and I'll take a second look.
I am trying to use
birdnetlib
as a library to identify birds instead of using the scripts included in BirdNet. I am having trouble pointingbirdnetlib
to the models and labels included in BirdNET.Installation steps performed
I am on Ubuntu 22.04.
I tried following BirdNet's recommendation of installing
tflite-runtime
but gotSo this is why I just installed the other option of
tensorflow
.Code
But the analysis fails:
This worked fine with the built-in model and labels in
birdnetlib
using justanalyzer=Analyzer()
, but those are apparently not correct for my area as the results were not accurate.How do I use
birdnetlib
with BirdNet's models and labels? Have I done something wrong here?Thanks for any help! Excited to try and get this system going.