taf2 / voiceid

Automatically exported from code.google.com/p/voiceid
7 stars 2 forks source link

Can't add model, db.add_model command just hangs... #38

Open dPys opened 8 years ago

dPys commented 8 years ago

Hi, this issue still appears to be unresolved and it is a major bug. I'm running python2.7 on Ubuntu 14.04 Trusty. 99% certain that I have all of the correct versions of dependencies. What's going on here?

from voiceid.sr import Voiceid from voiceid.db import GMMVoiceDB from pydub import AudioSegment

path='/home/USER/Documents/speech_patterns'

def add_sample(path, speaker_name1, speaker_name2): db = GMMVoiceDB(path) print 'Adding', path, '...' db.add_model(path[:-4], speaker_name1, speaker_name2)

In [5]: add_sample(path, 'interviewer', 'interviewee') Adding /home/USER/Documents/speech_patterns ...