FelixLou / voiceid

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

db.add_model() not responding #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I recently switched to Ubuntu 13.10. After installing the Voiceid, I tested my 
samples following the the few codes given for usage on the installation page. 
Some samples were diarized while others were not. I don't know why.

I however, proceeded to trying out the library. When I get to the add_model to 
create/train my voices in the database, it seems to hang or take forever. I am 
stuck at this point. Any help will be appreciated. 

Original issue reported on code.google.com by kaggsmag...@gmail.com on 14 Feb 2014 at 3:13

GoogleCodeExporter commented 9 years ago
I managed to solve t5he problem above by installing spinx. However, when I try 
to add a model, I get the following error;

OSError: Subprocess <subprocess.Popen object at 0x7f2d2d135ad0> closed 
unexpectedly [java -Xmx2048m -jar 
/home/kagendo/anaconda/local/share/voiceid/LIUM_SpkDiarization-4.7.jar 
fr.lium.spkDiarization.system.Diarization --fInputMask=%s.wav 
--sOutputMask=%s.seg --doCEClustering 
/usr/local/lib/python2.7/speeches/CS325.wav

What am I missing here?

Original comment by kaggsmag...@gmail.com on 16 Feb 2014 at 3:59

GoogleCodeExporter commented 9 years ago
Try to run the java command line out of python and see if it shows the error.

Original comment by maurome...@gmail.com on 16 Feb 2014 at 5:13

GoogleCodeExporter commented 9 years ago
Hi, this is what I get. I am not sure that I should tamper with the original 
java file as am afraid I may mess up everything. However, I did make the 
LIUM_SpkDiarization-4.7.jar executable but it has not solved the problem. 
Thanks for your help in advance.  

info[info]   ====================================================== 
info[program]    name = Diarization
info[info]   ------------------------------------------------------ 
info[show]   [options] show
info[ParameterFeature-Input]     --fInputMask    Features input mask = %s.mfcc
info[ParameterFeature-Input]     --fInputDesc    Features info 
(type[,s:e:ds:de:dds:dde,dim,c:r:wSize:method]) = 
audio2sphinx,1:1:0:0:0:0,13,0:0:0:0
info[ParameterFeature-Input]         type [sphinx,spro4,htk,gztxt,audio2sphinx] = 
audio2sphinx (4)
info[ParameterFeature-Input]         static [0=not present,1=present ,3=to be 
removed] = 1
info[ParameterFeature-Input]         energy [0,1,3] = 1
info[ParameterFeature-Input]         delta [0,1,2=computed on the fly,3] = 0
info[ParameterFeature-Input]         delta energy [0,1,2=computed on the fly,3] = 0
info[ParameterFeature-Input]         delta delta [0,1,2,3] = 0
info[ParameterFeature-Input]         delta delta energy [0,1,2,3] = 0
info[ParameterFeature-Input]         file dim = 13
info[ParameterFeature-Input]         normalization, center [0,1] = 0
info[ParameterFeature-Input]         normalization, reduce [0,1] = 0
info[ParameterFeature-Input]         normalization, window size = 0
info[ParameterFeature-Input]         normalization, method [0 (segment), 1 
(cluster), 2 (sliding), 3 (warping)] =0
info[ParameterFeature-Input]     --fInputMemoryOccupationRate    memory occupation 
rate of the feature in the java virtual machine = 0.8
info[info]   ------------------------------------------------------ 
info[ParameterSegmentationFile-Input]    --sInputMask    segmentation mask = 
info[ParameterSegmentationFile-Input 
([seg,bck,ctl,saus.seg,seg.xml,media.xml],[ISO-8859-1,UTF8])]    --sInputFormat 
     segmentation format = seg,ISO-8859-1
info[ParameterSegmentationFile-Input2]   --sInput2Mask   segmentation mask = 
info[ParameterSegmentationFile-Input2 
([seg,bck,ctl,saus.seg,seg.xml,media.xml],[ISO-8859-1,UTF8])]    --sInput2Format 
     segmentation format = seg,ISO-8859-1
info[ParameterSegmentationFile-Output]   --sOutputMask   segmentation mask = 
%s.out.seg
info[ParameterSegmentationFile-Output 
([seg,bck,ctl,saus.seg,seg.xml,media.xml],[ISO-8859-1,UTF8])]    --sOutputFormat 
     segmentation format = seg,ISO-8859-1
info[info]   ------------------------------------------------------ 
info[ParameterSystem]    --system [baseline,10s]= baseline
info[ParameterSystem]    --doCEClustering = false
info[ParameterSystem]    --doTuning = false
info[ParameterSystem]    --thresholds = l=2.0, h=3.0, d=250.0, c=1.7:5.0
info[ParameterSystem]    --saveAllStep = false
info[ParameterSystem]    --loadInputSegmentation = false
info[info]  

Original comment by kaggsmag...@gmail.com on 17 Feb 2014 at 6:44