fib1123 / voiceid

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

db.add_model causes problem #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have successfully solved the previous dependencies problem.

I think the problem comes from db.add_model('recordingaudio/joeyyung', 'agnes', 
'F')

But when I run your example sources, I got the following response:

Traceback (most recent call last):
  File "/home/lee/workspace/voiceid/src/src/voiceidimplementation.py", line 12, in <module>
    db.add_model('recordingaudio/joeyyung', 'agnes', 'F')
  File "/home/lee/workspace/voiceid/src/src/voiceid/db.py", line 178, in add_model
    fm.build_gmm(basefilename, identifier)
  File "/home/lee/workspace/voiceid/src/src/voiceid/fm.py", line 306, in build_gmm
    _train_map(filebasename)
  File "/home/lee/workspace/voiceid/src/src/voiceid/fm.py", line 690, in _train_map
    utils.start_subprocess(commandline)
  File "/home/lee/workspace/voiceid/src/src/voiceid/utils.py", line 67, in start_subprocess
    raise err
OSError: Subprocess <subprocess.Popen object at 0xb75ce8ac> closed unexpectedly 
[java -Xmx256m -cp /usr/local/share/voiceid/LIUM_SpkDiarization-4.22.jar 
fr.lium.spkDiarization.programs.MTrainMAP --sInputMask=%s.ident.seg 
--fInputMask=%s.mfcc --fInputDesc=audio16kHz2sphinx,1:3:2:0:0:0,13,1:1:300:4 
--tInputMask=%s.init.gmm --emCtrl=1,5,0.01 --varCtrl=0.01,10.0 
--tOutputMask=%s.gmm recordingaudio/joeyyung]

Please help`~

Original issue reported on code.google.com by idiscove...@gmail.com on 10 Jul 2012 at 10:04

GoogleCodeExporter commented 8 years ago
Hi, this problem is again relative to the sphinx_fe output (a .mfcc file), 
because the sphinxbase-tools package installable in ubuntu 12.04 
(sphinxbase-utils 0.4.1-0ubuntu4 notice the trailing 4) doesn't work properly.
You have to remove the package by apt-get and install an older package 
(sphinxbase-utils 0.4.1-0ubuntu1, trailing 1) that you can find here,
https://launchpad.net/ubuntu/karmic/i386/sphinxbase-utils/0.4.1-0ubuntu1 
(direct link to the deb 
http://launchpadlibrarian.net/30727966/sphinxbase-utils_0.4.1-0ubuntu1_i386.deb)
.
Then run svn up (we are still working on a lot of things...) and try again.
Hope this solve :-)

Original comment by maurome...@gmail.com on 10 Jul 2012 at 3:32

GoogleCodeExporter commented 8 years ago
I am sorry to tell you that reinstalling an oldest version of sphinxbase-tools 
package can only solve the problem of buffer overflow at ubuntu12.04. But when 
I run your examples, I again encounter the error.

OSError: Subprocess <subprocess.Popen object at 0xb75ce8ac> closed unexpectedly 
[java -Xmx256m -cp /usr/local/share/voiceid/LIUM_SpkDiarization-4.22.jar 
fr.lium.spkDiarization.programs.MTrainMAP --sInputMask=%s.ident.seg 
--fInputMask=%s.mfcc --fInputDesc=audio16kHz2sphinx,1:3:2:0:0:0,13,1:1:300:4 
--tInputMask=%s.init.gmm --emCtrl=1,5,0.01 --varCtrl=0.01,10.0 
--tOutputMask=%s.gmm recordingaudio/joeyyung]

Original comment by idiscove...@gmail.com on 11 Jul 2012 at 7:08

GoogleCodeExporter commented 8 years ago
As shown in the java command line, you are still using the 4.22 version of 
lium, but we get back to the 4.7 of lium in revision 180.
You have to update (svn up) to the last version of voiceid (at this moment the 
182) and reinstall it (sudo python setup.py install).
Try and let me know if this solved.

Original comment by maurome...@gmail.com on 11 Jul 2012 at 8:06

GoogleCodeExporter commented 8 years ago
I have the same issue running vid -s me -g WAV_FILE on xubuntu 12.10:
OSError: Subprocess <subprocess.Popen object at 0xb719ca0c> closed unexpectedly 
[java -Xmx256m -cp /usr/local/share/voiceid/LIUM_SpkDiarization-4.7.jar 
fr.lium.spkDiarization.programs.MTrainMAP --sInputMask=%s.ident.seg 
--fInputMask=%s.mfcc --fInputDesc=audio16kHz2sphinx,1:3:2:0:0:0,13,1:1:300:4 
--tInputMask=%s.init.gmm --emCtrl=1,5,0.01 --varCtrl=0.01,10.0 
--tOutputMask=%s.gmm

I've tried to install older version of sphinxbase-utils but I still get this 
error. How can I fix it?

Original comment by constant...@gmail.com on 2 Mar 2013 at 10:04