ppwwyyxx / speaker-recognition

A Speaker Recognition System
Apache License 2.0
675 stars 276 forks source link

Unable to install the dependencies #57

Closed skulai closed 5 years ago

skulai commented 6 years ago

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?

ppwwyyxx commented 6 years ago

https://github.com/ppwwyyxx/speaker-recognition/blob/1d81338169659e9255f823b9bb043b7a1915bc82/Dockerfile#L122

skulai commented 6 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

ppwwyyxx commented 6 years ago

You're already running it. You just need to follow the usage in README

skulai commented 6 years ago

@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?

ppwwyyxx commented 6 years ago

./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.

richardm47 commented 6 years ago

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.

installer.txt

skulai commented 6 years ago

@blackunicorn47 Thank you, I will try this out

Fritskee commented 6 years ago

@skulai did it work?

qacollective commented 6 years ago

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