Closed skulai closed 5 years ago
docker run speaker-recognition /usr/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') usage: speaker-recognition.py [-h] -t TASK -i INPUT -m MODEL speaker-recognition.py: error: argument -t/--task is required
This is the error I get now after running the above command
You're already running it. You just need to follow the usage in README
@ppwwyyxx
docker run speaker-recognition -t enroll -i "./shruthi/" -m model.out
/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
No valid directory found!
I have a directory with .wav files in the folder src/shruthi. Am I doing it correctly?
./shruthi
is probably not a valid path in docker.
I'm not familiar with docker, I guess something like /root/speaker-recognition/src/shruthi
may work.
Hi @skulai , save this txt as a .sh file and run it as administrator. It should install all dependencies for you. Do let me know if it worked.
@blackunicorn47 Thank you, I will try this out
@skulai did it work?
Since people were having trouble building the Dockerfile, I have built a Linux docker image that can be pulled now - simply run docker pull qacollective/ppwwyyxx-speaker-recognition
Hello, I am trying to run the project on Ubuntu. I installed all dependencies by running the dockerfile. It executed successfully. But when I run python speaker_recognition.py , I get this error
No module named bob Warning: failed to import Bob, will use a slower version of MFCC instead. Traceback (most recent call last): File "speaker-recognition.py", line 17, in
Could you please tell me if I need to do anything else to make this work?