Closed richardpenner closed 7 years ago
What's the command you used? And could you ls
the data directory you used to show that you have the files in the correct place? There is some tricky point about the organization of directories.
The command I ran was:
./speaker-recognition.py -t enroll --input "./waves-enroll/*" --model model.out
and the contents of ./waves-enroll
is 2 directories: ben
and james
. Each of those 2 directories have hundreds of files named as, for example,
B-10_00m_00s__00m_01s.mp3.wav
B-10_00m_01s__00m_02s.mp3.wav
B-10_00m_02s__00m_03s.mp3.wav
…
The files look correct. Another reason is that some of your files may be too short. I just added a line in 593425851e to check this.
Thank you. I split the wav files into 1 second each, based on a comment you made somewhere, but now I wonder if you're creating 1s samples internally and the wav files can be longer?
You were correct – some of the files were too short. I was using 1 second waves based on a misunderstanding of something you wrote elsewhere. Using longer input waves is now working. Thank you!
I'm seeing the following crash when trying to enroll:
Any ideas what might be wrong?