BirdNET-Analyzer
BirdNET-Analyzer copied to clipboard
Slow docker performance
Hello
I'm getting really slow processing times when using docker vs native.
native:
jason@LAPTOP-T8LSCUVL:~/benchmark/native/BirdNET-Analyzer$ python3 analyze.py
Species list contains 2434 species
Found 2 files to analyze
Analyzing example/soundscape.wav
Analyzing example/test.wav
Finished example/test.wav in 1.07 seconds
Finished example/soundscape.wav in 4.40 seconds
docker:
jason@LAPTOP-T8LSCUVL:~/benchmark/docker/BirdNET-Analyzer$ sudo docker run -v /home/jason/benchmark/native/BirdNET-Analyzer/example/:/audio birdnet analyze.py --i /audio --o /audio --slist /audio
Species list contains 41 species
Found 2 files to analyze
Analyzing /audio/soundscape.wav
Analyzing /audio/test.wav
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Finished /audio/test.wav in 12.22 seconds
Finished /audio/soundscape.wav in 15.75 seconds
jason@LAPTOP-T8LSCUVL:~/benchmark/docker/BirdNET-Analyzer$
I'm guess this is to do with the line "INFO: Created TensorFlow Lite XNNPACK delegate for CPU." Just wanted to know if anyone else had seen this issue?