Comments (6)
Hmmm, weird, do you have a sample file that I can use to try to replicate this behavior?
from birdnet-analyzer.
Well ok, so its not always double the time but it always takes significantly longer.
The audio files were recorded in stereo and then converted to mono using ffmpeg (10min & Sample rate 48 kHz).
1 File (10 min): Mono 70s ; Stereo 90s
2 Files (à 10 min): Mono 110s; Stereo 260s
3 Files: Mono 190s; Stereo 460s
CPU_THREADS = 1
TFLITE_THREADS = 4
Example files are here
https://oekofor.ddns.net/index.php/s/7mMXFWGNTeCTYkp
from birdnet-analyzer.
I wasn't able to reproduce the issue, which machine and model did you use to run the test?
This is the log from my workstation PC using only one CPU thread:
Analyzing example/mono/SN99_2022-04-07T084531+0000.wav
Finished example/mono/SN99_2022-04-07T084531+0000.wav in 18.88 seconds
Analyzing example/mono/SN99_2022-04-07T084531+0000_2.wav
Finished example/mono/SN99_2022-04-07T084531+0000_2.wav in 18.30 seconds
Analyzing example/mono/SN99_2022-04-07T084531+0000_2_mono.wav
Finished example/mono/SN99_2022-04-07T084531+0000_2_mono.wav in 17.58 seconds
Analyzing example/mono/SN99_2022-04-07T084531+0000_3.wav
Finished example/mono/SN99_2022-04-07T084531+0000_3.wav in 18.23 seconds
Analyzing example/mono/SN99_2022-04-07T084531+0000_3_mono.wav
Finished example/mono/SN99_2022-04-07T084531+0000_3_mono.wav in 17.43 seconds
Analyzing example/mono/SN99_2022-04-07T084531+0000_mono.wav
Finished example/mono/SN99_2022-04-07T084531+0000_mono.wav in 17.43 seconds
from birdnet-analyzer.
I ran the tests on a Raspberry Pi 3A+, 512mb Ram and a 2Gb Swapfile which fills up quite a bit.
The model version is 1.4 and it runs on tflite-runtime without the full tensorflow installation.
from birdnet-analyzer.
Did you find a solution or workaround for that issue? Haven't been able to reproduce the behavior so far.
from birdnet-analyzer.
@fegue -> try placing the audio files into /tmp ramdisk, and analyzing from there, trying to rule out the SD card reads. Also, if you are using client/server.py, then server saves temporary file to local folder, again, you can edit the file to move it to /tmp.
from birdnet-analyzer.
Related Issues (20)
- Creating a custom python script to use tflite model files : newby HOT 1
- Slow performance for analyze.py and embeddings.py HOT 1
- Add real-time detection HOT 1
- Adding BirdWeather integration to allow for PUC data processing HOT 5
- Issue with `segments.py` Not Saving Extracted Segments HOT 1
- Species list of the custom classifier has ANSI encoding and has to be converted to UTF-8 HOT 2
- Cannot utilize PBMODEL HOT 1
- Support different sampling modes in segments.py
- Link for Windows install leads to 404 error HOT 2
- Add internationalization HOT 1
- Segments not extracting to output directory (BirdNET GUI) HOT 1
- analyze.py seems to skip many files if it encounters a corrupt file HOT 4
- v1.1.0 Windows packaged version error from command line -- No such file or directory: 'labels\\label_names.csv' HOT 2
- Question on quality of Training Files
- Missing tensorflow - MacOS M1 HOT 5
- ModuleNotFoundError: No module named 'tflite_runtime' [Windows] HOT 2
- Raven list file not sorted
- [Information request] Are the android app and the website open-source ? HOT 1
- Utilize GPU when training
- Birdnet not responding after update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birdnet-analyzer.