UNDERSTANDING HTK ERROR MESSAGES.docx
《UNDERSTANDING HTK ERROR MESSAGES.docx》由会员分享,可在线阅读,更多相关《UNDERSTANDING HTK ERROR MESSAGES.docx(25页珍藏版)》请在冰豆网上搜索。
UNDERSTANDINGHTKERRORMESSAGES
UNDERSTANDINGHTKERRORMESSAGES
各种HTK错误消息的意义
Variousproblems&solutionsI'vecomeacrossinusingHTKforbuildingaWSJrecognizerandformydissertationworkinLanguageModeling.Ifyou'reheretofindanswersforyourownproject,considerpostingyourproblems&solutionsonyourownwebsite,forotherstolearnfrom,too.
PROBLEM
SOLUTION
HLEd-dprondict-imonophone.mlfmkphones0.ledwords.mlf
Doesnothing,only#!
MLF!
#isreturnedintheoutput.
Thereneedtobedoublequotesaroundthelabfilenameinthewords.mlffile:
"*/xxx.LAB"insteadof'*/xxx.lab'
HDMan-lhdman.log-wlists/all.wordlistlists/all.words.monophones.dictlists/cmudict.sort
ERROR[+1452]ReadDictProns:
wordAoutoforderindictlists/cmudict.sort
FATALERROR-TerminatingprogramHDMan
Unixsortdoesn'tseemtomatchthesortHTKislookingfor.Python'ssortfunctionseemstowork.Numbersaresortedwith'.'before0,shorterbeforelonger(1<1.0<10<100)
HLEd-l'*'-dlists/allwords.prons.dict-ilists/all.phonemlfsrc/mkphones0.ledlists/all.wordmlf
ERROR[+5013]ReadString:
Stringtoolong
FATALERROR-TerminatingprogramHLEd
Makechangestothepronunciationdictionary:
Replaceallmultiplespaceswithsinglespace;
Replacealltabswithsinglespace;
Puta'\'beforeeverydoublequote(");%"
Puta'\'beforeanydictionaryentrybeginningwithsinglequote(')
HLEd-l'*'-dlists/allwords.prons.dict.notabnospace-ilists/all.phonemlfsrc/mkphones0.ledlists/all.wordmlf
ERROR[+1232]NumParts:
Cannotfindword~indictionary
FATALERROR-TerminatingprogramHLEd
Addthatwordtothedictionary,resortifnecessary
ERROR[+1232]NumParts:
CannotfindwordMR.
STEINBERGindictionary
FATALERROR-TerminatingprogramHLEd
IntheMLFfile,theline"MR."endedwithaslash,removetheslashfromtheMLFfile.
HLEd-l'*'-dprondict-itrain.monophone.mlfmkphones0.ledtrain.rem.mlf
ERROR[+6550]LoadHTKList:
LabelNameExpected
FATALERROR-TerminatingprogramHLEd
Forallnumbersintrain.rem.mlf,precedethemwith\sotheydon'tlooklikeatime.
HLEd-dtrain.prondict-itrain.monophone.mlfmkphones0.ledtdt4.arabicBN.mlf
ERROR[+1232]NumParts:
Cannotfindword#(tdAxlindictionary
FATALERROR-TerminatingprogramHLEd
someofthesewordsendedin\)inthemlf,whichwasscrewingwithhowitappearsinthedictionary.Itookoutthe\)inthemlf,nowhavetomakesureeverythinghasitscorrectentryintheprondict.
HLEd-dtrain.prondict-itrain.monophone.mlfmkphones0.ledtdt4.arabicBN.mlf
ERROR[+6550]LoadHTKLabels:
JunkatendofHTKtranscription
FATALERROR-TerminatingprogramHLEd
Add-T1tothecommandline.Whereitstops,lookinthe.mlffileforthattranscription.Theremaybeablanklineorsomethingkookyinit.ThiswillhelpyoufindalotoftheerrorsthatHLEdcomesupwith.
HCopy-Cconfigall-Swav2mfcc.scp
ERROR[+6270]OpenParmChannel:
CannotreadparameterisedWAVdata
ERROR[+6313]OpenAsChannel:
OpenParmChannelfailed
ERROR[+6316]OpenBuffer:
OpenAsChannelfailed
ERROR[+1050]OpenParmFile:
Configparametersinvalid
FATALERROR-TerminatingprogramHCopy
movedtheHCopyconfigurationsoutofconfigallandintotheirownconfigurationfilewithouttheHCopy:
prefixes
HCopy-Cconfighcopy-Swav2mfcc.arabicBN.scp-T1
data2/20000610_0330_0430_voa_arb_spl0.wav->data2/20000610_0330_0430_voa_arb_spl0.mfcc
ERROR[+6251]InputfileisnotinRIFFformat
ERROR[+6213]OpenWaveInput:
Get[format]HeaderInfofailed
ERROR[+6313]OpenAsChannel:
OpenWaveInputfailed
ERROR[+6316]OpenBuffer:
OpenAsChannelfailed
ERROR[+1050]OpenParmFile:
Configparametersinvalid
FATALERROR-TerminatingprogramHCopy
seemstoworkifIputasinglefileonthecommandline
couldn'tfigureouttheproblem,butitworkedwhenIusedadifferentcomputer
maybeit'sa64-bitvs32-bitproblem?
HCompV-Csrc/ConfigHVite-f0.01-v0.01-m-Slists/train.plp.list-Mhmm0proto/hmm0/prototype_base
ERROR[+7032]FreezeOptions:
vecSizenotset
ERROR[+5105]AllocBlock:
Cannotallocateblockdataof4294967288bytes
FATALERROR-TerminatingprogramHCompV
Wasusingthewronghmm0/prototype;makesureithastheappropriatelinesatthetop(howtheMFCCsweredefined,E_Z_A_Detc,meansofone,variancesofzero
HCompV-Csrc/ConfigHVite-f0.01-v0.01-m-Slists/train.plp.list-Mhmm0proto/hmm0/prototype
ERROR[+7031]GetTransMat:
BadTransMatSuminRow3
HMMDefError:
GetTransMatfailedatline40/col14/char1028inproto/hmm0/prototype
ERROR[+7050]HMError:
ERROR[+7032]LoadHMMSet:
GetHMMDeffailed
ERROR[+2028]Initialise:
LoadHMMSetfailed
FATALERROR-TerminatingprogramHCompV
Intheprototypefile,atthematrix,thecopyandpastehadsplitupthelines,sotherowsdidnotadduptoone.Makesureeachrowfitsonasingleline.
HCompV-Cconfigall-T1-A-D-m-Mhmm0-f0.01-Strain_mfcc.listhmm0/prototype
ERROR[+5050]ReadConfigFile:
=expectedline1/col8/char7inconfigall
ERROR[+5020]InitShell:
ReadConfigFilefailedonfileconfigall
ERROR[+2000]HCompV:
InitShellfailed
FATALERROR-TerminatingprogramHCompV
Ifthefirstcolumnoftheconfigfileliststheprogramname(HVite,HCopy,etc),makesurethereisacolonafterthename.
HCopy:
TARGETKIND=MFCC_0_D_A
Alsomakesureany'#'forcommentscomeatthebeginningoftheline,notthesecondcolumn.
HCompV-cConfigHVite-T1-A-D-m-Mhmm0-f0.01-Strain_mfcc.listhmm0/prototype
NoHTKConfigurationParametersSet
HCompV:
Computingsidebasedcepstralmean.....
ERROR[+2039]HCompV:
AccGenUtt:
speakerpatternmatchingfailureonfile:
hmm0/prototype
The-cneedstobe-C,orelsetheconfigfileisn'tread.
HCompV-CConfigHVite-T1-A-D-m-Mhmm0-f0.01-Strain_mfcc.listhmm0/prototype
ERROR[+2050]CheckData:
Parameterisationin./20001001_10.mfccisincompatiblewithhmmhmm0/prototype
Inhmm0/prototype,changeUSERtoMFCC_0_D_A(whenHCopyisrunwithMFCC_0astheTARGETKIND
HCompV-CConfigHVite-T1-A-D-m-Mhmm0-f0.01-Strain_mfcc.listhmm0/prototype
ERROR[+2050]CheckData:
Vectorsizein/data/data3/bromberg/fisher/segmented/fla_0069_122.mfcc[39]isincompatiblewithhmmhmm0/proto[13]
Inthefirstlineofhmm0/proto,whichyouneedtocreatebyhandinordertorunHCompV,makesurethevecSizeisthesameasthesizeofthemfccs.Hereitssayingthatthemfcchas39dimensionsbuttheprotoonlycallsfor13.Hereisasamplescriptformakingtheprotofile.
HCompV-A-T1-Strainsets/training-extfiles0-llineObservations-Ilabels.mlf-olineObservations-m-Mmodels/hmm0.0hmmdefs/version1-hmm-top-23vec
CalculatingFixedVariance
HMMPrototype:
hmmdefs/version1-hmm-top-23vec
SegmentLabel:
lineObservations
NumStreams:
1
UpdatingMeans:
Yes
TargetDirect:
models/hmm0.0
***stacksmashingdetected***:
HCompVterminated
HTKis32-bitprogram.InstallGCC3.4forittorunitona64bitmachine...otherwisesomepartworks/somegetsstackoverflow.
HERest-Csrc/ConfigHVite-Ilists/train.phonemlf-t250.0150.01000.0-Strain.mfcc.list-Hhmm0/macros-Hhmm0/hmmdefs-Mhmm1lists/monophones1
ERROR[-7324]StepBack:
File...baddataoroverpruning
Possibleproblemsincludecorruptmfcc,non-matchingornon-existentlabels.Inthiscase,Ihadtore-calculatethemean&variancefortheprototypehmmusingonly1/2thedata,andtheproblemwentaway.Ifeveryfileisconsideredbaddata,youmayhavederivedthefeatureswrong.GobacktoHCopyandchecktheparameters(configfile).
HERest-Csrc/ConfigHVite-Ilists/train.phonemlf-t250.0150.01000.0-Strain.mfcc.list-Hhmm0/macros-Hhmm0/hmmdefs-Mhmm1lists/monophones1
Savinghmm'stodirhmm1
ERROR[+7031]PutTransMat:
Row4oftransitionmatsum=1.064684
FATALERROR-TerminatingprogramHERest
Toomuchdata.Usethe-poption,splittingtheinputandprocessingoverseveralmachines,thendoingaseparateHERestpasswith-p0toaccumulatetheaccumulators.Or,asabove,useasmallerportionofthedata.Also,makesurethatthefiledurationsarespreadevenlyacrosslists.Don'tputallthelongfilestogether,mixthemupwithshortones.
HERest-Csrc/ConfigHVite-Ilists/train.phonemlf-t250.0150.01000.0-Slists/train.plp.list-Hhmm0/macros-Hhmm0/hmmdefs-Mhmm1lists/monophones1
ERROR[+5010]InitSource:
Cannotopensourcefilehmm0/macros
ERROR[+7010]LoadAllMacros:
Can'topenfile
ERROR[+5010]InitSource:
Cannotopensourcefilehmm0/hmmdefs
ERROR[+7010]LoadAllMacros:
Can'topenfile
ERROR[+7050]LoadHMMSet:
Macronameexpected
ERROR[+2321]Initialise:
LoadHMMSetfailed
FATALERROR-TerminatingprogramHERest
Needtomake'macros'fileinhmm0directory.Copyfirstfewlinesoftheprototypeintomacros,thenappendtoitthevFloorsfile.
HERest-Csrc/ConfigHVite-Ilists/train.phonemlf-t250.0150.01000.0-Slists/train.plp.list-Hhmm0/macros-Hhmm0/hmmdefs-Mhmm1lists/monophones1
ERROR[+5010]InitSource:
Cannotopensourcefilehmm0/hmmdefs
ERROR[+7010]LoadAllMacros:
Can'topenfile
ERROR[+7050]LoadHMMSet:
Macronameexpected
ERROR[+2321]Initialise:
LoadHMMSetfailed
FATALERROR-TerminatingprogramHERest
Needtomanuallycreatehmmdefsfile.Fromhtkbook:
"...hmmdefscontainingacopyforeachoftherequiredmonophoneHMMsisconstructedbymanuallycopyingtheprototypeandrelabelingitforeachrequiredmonophone(includingsil)."Usethebuild_hmmdefs.pyscript.Addanothercopyofthehmmatthebottomwiththelabel'sil'.
HERest-Csrc/ConfigHVite-Ilists/all.phonemlf-t250.0150.01000.0-Slists/train.plp.list-Hhmm0/macros-Hhmm0/hmmdefs-Mhmm1lists/monophones1
Pruning-On[250.0150.01000.0]ERROR[+6510]LOpen:
Unabletoopenlabelfile/