In the fold "sphinxtrain-5prealpha" I am running the commands:
sphinxtrain -t an4 setup (OK)
cd an4 (OK)
sphinxtrain run
I get it in may output:
Lastlogin:MonNov2710:09:40onconsole-bash:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/:isadirectoryspgpfileserv:~fabiano.luz$cdDropbox/AIProjects/ASR/sphinxtrain-5prealpha/spgpfileserv:sphinxtrain-5prealphafabiano.luz$sphinxtrain-tan4setupSphinxtrainpath:/usr/local/lib/sphinxtrainSphinxtrainbinariespath:/usr/local/libexec/sphinxtrainSettingupthedatabasean4spgpfileserv:sphinxtrain-5prealphafabiano.luz$cdan4spgpfileserv:an4fabiano.luz$sphinxtrainrunSphinxtrainpath:/usr/local/lib/sphinxtrainSphinxtrainbinariespath:/usr/local/libexec/sphinxtrainRunningthetrainingMODULE:000ComputingfeaturefromaudiofilesExtractingfeaturesfromsegmentsstartingat(part1of1)Extractingfeaturesfromsegmentsstartingat(part1of1)FeatureextractionisdoneMODULE:00verifytrainingfilesPhase1:Checkingtoseeifthedictandfillerdictagreeswiththephonelistfile.Found133wordsusing34phonesPhase2:CheckingtomakesuretherearenotduplicateentriesinthedictionaryPhase3:Checkgeneralformatforthefileidsfile;utterancelength(mustbepositive);filesexistPhase4:CheckingnumberoflinesinthetranscriptfileshouldmatchlinesinfileidsfilePhase5:Determineamountoftrainingdata,seeifn_tied_statesseemsreasonable.EstimatedTotalHoursTraining:0.702463888888889Thisisasmallamountofdata,nocommentatthistimePhase6:CheckingthatallthewordsinthetranscriptareinthedictionaryWordsindictionary:130Wordsinfillerdictionary:3Phase7:Checkingthatallthephonesinthetranscriptareinthephonelist,andallphonesinthephonelistappearatleastonceMODULE:0000traingrapheme-to-phonememodelSkipped(set$CFG_G2P_MODEL='yes'toenable)MODULE:01TrainLDAtransformationSkipped(set$CFG_LDA_MLLT='yes'toenable)MODULE:02TrainMLLTtransformationSkipped(set$CFG_LDA_MLLT='yes'toenable)MODULE:05VectorQuantizationSkippedforcontinuousmodelsMODULE:10TrainingContextIndependentmodelsforforcedalignmentandVTLNSkipped:$ST::CFG_FORCEDALIGNsetto'no'insphinx_train.cfgSkipped:$ST::CFG_VTLNsetto'no'insphinx_train.cfgMODULE:11Force-aligningtranscriptsSkipped:$ST::CFG_FORCEDALIGNsetto'no'insphinx_train.cfgMODULE:12Force-aligningdataforVTLNSkipped:$ST::CFG_VTLNsetto'no'insphinx_train.cfgMODULE:20TrainingContextIndependentmodelsPhase1:Cleaningupdirectories:accumulator...logs...qmanager...models...Phase2:Flatinitializedo"etc/sphinx_train.cfg"failed,'.'isnolongerin@INC;didyoumeando"./etc/sphinx_train.cfg"?at/usr/local/lib/sphinxtrain/scripts/20.ci_hmm/../prepare/../lib/SphinxTrain/Config.pmline65.Configuration(e.g.etc/sphinx_train.cfg)notdefinedCompilationfailedinrequireat/usr/local/lib/sphinxtrain/scripts/20.ci_hmm/../prepare/maketopology.plline43.BEGINfailed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/20.ci_hmm/../prepare/maketopology.pl line 43.ERROR:Thisstephad1ERRORmessagesand0WARNINGmessages.Pleasecheckthelogfilefordetails.Phase3:Forward-BackwardBaumwelchstartingfor1Gaussian(s),iteration:1(1of1)Waitingfor/Users/fabiano.luz/Dropbox/AIProjects/ASR/sphinxtrain-5prealpha/an4/model_parameters/an4.ci_cont_flatinitial/mixture_weightsWaitingfor/Users/fabiano.luz/Dropbox/AIProjects/ASR/sphinxtrain-5prealpha/an4/model_parameters/an4.ci_cont_flatinitial/mixture_weightsWaitingfor/Users/fabiano.luz/Dropbox/AIProjects/ASR/sphinxtrain-5prealpha/an4/model_parameters/an4.ci_cont_flatinitial/mixture_weightsWaitingfor/Users/fabiano.luz/Dropbox/AIProjects/ASR/sphinxtrain-5prealpha/an4/model_parameters/an4.ci_cont_flatinitial/mixture_weightsWaitingfor/Users/fabiano.luz/Dropbox/AIProjects/ASR/sphinxtrain-5prealpha/an4/model_parameters/an4.ci_cont_flatinitial/mixture_weights......itsmakeseternallyprintingthisline.
the command "sphinxtrain run" generates three folders: 000.comp_feat, 05.vector_quantize and 20.ci_hmm
and the log file "an4.makeflat_cihmm.log" :
I reinstalled perl and managed to walk a little. Agora eu tenho o seguinte erro:
Failed to open /Users/fabiano.luz/Dropbox/AIProjects/ASR/sphinxtrain-5prealpha/an4/etc/feat.params: No such file or directory at /usr/local/lib/sphinxtrain/scripts/20.ci_hmm/../lib/SphinxTrain/Util.pm line 652.
Current Overall Likelihood Per Frame = -151.880882996072
Baum welch starting for 1 Gaussian(s), iteration: 2 (1 of 1)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
did you resolve above issue ? I have same issue
Failed to open D:/Sphinx/ara/etc/feat.params: No such file or directory at D:\sphinx\sphinxtrain\scrips\lib/SphinxTrain/Util.pm line 652.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't generate the acoustic model for copus an4
Hi everyone, I'm trying to run the acoustic model for sphinxtrain-5prealpha. I am using MAC OS 10.11.6 version.
I installed the packages:
sphinxbase-5prealpha
sphinxtrain-5prealpha
pocketsphinx-5prealpha
according to: https://cmusphinx.github.io/wiki/tutorialam/#configuring-parallel-jobs-to-speedup-the-training
I am using corpus an4 that I downloaded from: http://www.speech.cs.cmu.edu/databases/an4/
in the sphere format audio.
In the fold "sphinxtrain-5prealpha" I am running the commands:
I get it in may output:
the command "sphinxtrain run" generates three folders: 000.comp_feat, 05.vector_quantize and 20.ci_hmm
and the log file "an4.makeflat_cihmm.log" :
If I change the sphinx_train.cfg file:
from:
$CFG_HMM_TYPE = '.cont.'; # Sphinx 4, PocketSphinx
to:
CFG_HMM_TYPE = '.semi.'; # PocketSphinx
I get it:
in this case I do not get any error in the log files, but the run procedure only generates two folders 000.comp_feat and 05.vector_quantize
my file "sphinx_train.cfg" can be viewed at:
https://www.dropbox.com/s/o4yqztb6trh3zg7/sphinx_train.cfg?dl=0
I'm a beginner on sphinx, could anyone help me?
Last edit: Fabiano Luz 2017-11-27
Clone all required packages (sphinxbase, pocketsphinx, sphinxtrain) from github and reinstall them.
I got its in my "an4.makeflat_cihmm.log" file:
Can someone help me?
I reinstalled perl and managed to walk a little. Agora eu tenho o seguinte erro:
did you resolve above issue ? I have same issue
Failed to open D:/Sphinx/ara/etc/feat.params: No such file or directory at D:\sphinx\sphinxtrain\scrips\lib/SphinxTrain/Util.pm line 652.