ppwwyyxx / speaker-recognition

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

Unable to use the dockerized version nor a local version #54

Closed aasimsani closed 6 years ago

aasimsani commented 6 years ago
root@e0f1565c4cc3:~/speaker-recognition/src# python speaker-recognition.py -t enroll -i "in/" -m m.out
Label in has files in/noise.wav,in/in_dat.wav
Traceback (most recent call last):
  File "speaker-recognition.py", line 89, in <module>
    task_enroll(args.input, args.model)
  File "speaker-recognition.py", line 73, in task_enroll
    m.train()
  File "/root/speaker-recognition/src/gui/interface.py", line 78, in train
    self.gmmset = self._get_gmm_set()
  File "/root/speaker-recognition/src/gui/interface.py", line 64, in _get_gmm_set
    if os.path.isfile(self.UBM_MODEL_FILE):
  File "/usr/lib/python2.7/genericpath.py", line 37, in isfile
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

I followed the instructions in your readme and tried to enroll a person using a mono audio wav file recorded in Audacity but it keeps throwing this error.