Closed jaro-kunzelmann closed 2 months ago
Hi @jaro-kunzelmann, thanks for the kind words, and for opening this issue.
Which version of tensorflow
do you have installed in your Mamba environment? I'd like to try to replicate the crash here with your exact version.
Thanks!
I'm using tensorflow 2.10.0
.
I also attached a full requirements file (with birdnetlib 0.14.0
, the version starting from which the crash is caused).
requirements.txt
Thank you for looking into this!
Dear @joeweiss,
I just set up a new Python environment and freshly installed all dependencies (as per the documents). birdnetlib works fine now. I'm not sure what caused the error in the first place.
Thanks for your work!
Hi @jaro-kunzelmann,
Thanks for the follow-up. I wasn't able to track down a cause, or replicate the crash on my machines.
I'm glad to hear that it is working now.
The problem might have been caused by some incompatible libraries, since I installed some with mamba and some with pip (which is not recommended...). Anyhow, installing everything with pip fixed it.
Hello!
First of all, thank you very much for this great project!
Description I am encountering an issue in versions 0.14 and 0.15. I tested with versions 0.8, 0.10, and 0.13.2 and there, the error didn't happen.
When I create an Analyzer object as follows...
...I get the following output:
Note: "EA2" is my mamba environment.
System Windows 10 Python 3.9.15 (via conda/mamba) I installed BirdNET requirements (Tensorflow, Librosa, NumPy, FFmpeg etc., as per BirdNET-Analyzer github page) via conda/mamba
What I tried I tried to track down the problem and installed previous versions of birdnetlib. It seems the problem occurs starting from version 0.14.0. In this version a new metadata species model was added (BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite). As far as I understand it, when
Analyzer
is initialized, it tries to load this model (when instantiatingSpeciesList
), which for some reason then causes the thisvector too long
error when allocating tensors.For now I will just stick to version 0.13.2, as I don't need the metadata species model at the moment. Let me know if I can assist you with further info and thank you very much for looking into it.
Cheers, Jaro