-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Tensor data is null. Run allocate_tensors() first" when running on Arch Linux #19
Comments
As a follow up request, maybe you can publish your working docker image to the docker hub? |
Same issue here on Windows:
Running analyze.py works fine, until I add a --classifier parameter |
I noticed the upstream Dockerfile is practically identical https://github.com/kahst/BirdNET-Analyzer/blob/main/Dockerfile. I just tested building it and it worked. So it must not be a problem with the Dockerfile in this repo...
|
Have you tried running bat_ident.py instead of analyze.py? I get the allocate_tensors error with the first, but not with the latter. |
Hi, I am trying to run the bat_ident.py on Arch Linux. I did the following:
But it printed e.g.
Error: Cannot analyze audio file /home/bats/NoID_20240726_211812.wav.
. After patchingBattyBirdNET-Analyzer/bat_ident.py
Line 473 in 0412be3
/home/bats/error.log
I could see the full error:I can see in the code that
allocate_tensors()
is always run aftertflite.Interpreter()
calls so I'm not sure whats going on, maybe a version mismatch from the known working version (since the dockerfile installs the latest of everything)?The text was updated successfully, but these errors were encountered: