You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I tested the CPU version with docker and it works fine. Then I tested the GPU version but ran into some error.
The Dockerfile-GPU install python 3.6 by default. The build works but when I test it with the command
sudo docker run --gpus all -v $PWD/example:/audio birdnet-gpu --i audio
I get the following error:
Traceback (most recent call last):
File "./analyze.py", line 8, in <module>
from utils import audio
File "/utils/audio.py", line 6, in <module>
import librosa
File "/usr/local/lib/python3.6/dist-packages/librosa/__init__.py", line 11, in <module>
from . import cache
File "/usr/local/lib/python3.6/dist-packages/librosa/cache.py", line 7, in <module>
from joblib import Memory
File "/usr/local/lib/python3.6/dist-packages/joblib/__init__.py", line 120, in <module>
from .parallel import Parallel
File "/usr/local/lib/python3.6/dist-packages/joblib/parallel.py", line 26, in <module>
from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend,
File "/usr/local/lib/python3.6/dist-packages/joblib/_parallel_backends.py", line 17, in <module>
from .pool import MemmappingPool
File "/usr/local/lib/python3.6/dist-packages/joblib/pool.py", line 31, in <module>
from ._memmapping_reducer import get_memmapping_reducers
File "/usr/local/lib/python3.6/dist-packages/joblib/_memmapping_reducer.py", line 37, in <module>
from .externals.loky.backend import resource_tracker
File "/usr/local/lib/python3.6/dist-packages/joblib/externals/loky/__init__.py", line 12, in <module>
from .backend.reduction import set_loky_pickler
File "/usr/local/lib/python3.6/dist-packages/joblib/externals/loky/backend/reduction.py", line 125, in <module>
from joblib.externals import cloudpickle # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/joblib/externals/cloudpickle/__init__.py", line 4, in <module>
from .cloudpickle import * # noqa
File "/usr/local/lib/python3.6/dist-packages/joblib/externals/cloudpickle/cloudpickle.py", line 64, in <module>
import typing_extensions as _typing_extensions
File "/usr/local/lib/python3.6/dist-packages/typing_extensions-4.2.0-py3.6.egg/typing_extensions.py", line 159, in <module>
class _FinalForm(typing._SpecialForm, _root=True):
AttributeError: module 'typing' has no attribute '_SpecialForm'
If I change the Dockerfile-GPU to install a newer version of python (3.7 or 3.8). The previous error is fix but I have another error about pygpu. The command execute but I get the following message ERROR (theano.gpuarray): pygpu was configured but could not be imported or is too old (version 0.7 or higher required) Here is the complete output
$ sudo docker run --gpus all -v $PWD/example:/audio birdnet-gpu --i audio
ERROR (theano.gpuarray): pygpu was configured but could not be imported or is too old (version 0.7 or higher required)
NoneType: None
FILES IN DATASET: 2
LOADING SNAPSHOT BirdNET_Soundscape_Model.pkl ... DONE!
BUILDING BirdNET MODEL... DONE!
IMPORTING MODEL PARAMS... DONE!
COMPILING THEANO TEST FUNCTION FUNCTION... DONE!
LOADING eBIRD GRID DATA... DONE! 13800 GRID CELLS
SID: 1 PROCESSING: Soundscape_1.wav SPECIES: 987 DETECTIONS: 38 TIME: 32
SID: 2 PROCESSING: Soundscape_2.wav SPECIES: 987 DETECTIONS: 16 TIME: 33
The text was updated successfully, but these errors were encountered:
Hi,
I tested the CPU version with docker and it works fine. Then I tested the GPU version but ran into some error.
The Dockerfile-GPU install python 3.6 by default. The build works but when I test it with the command
I get the following error:
If I change the Dockerfile-GPU to install a newer version of python (3.7 or 3.8). The previous error is fix but I have another error about pygpu. The command execute but I get the following message
ERROR (theano.gpuarray): pygpu was configured but could not be imported or is too old (version 0.7 or higher required)
Here is the complete outputThe text was updated successfully, but these errors were encountered: