190 likes | 533 Views
專題研究 (2) HINIT + HREST + HEREST. Prof. Lin-Shan Lee, TA. Yun-Nung Chen. Acoustic Model Initialization. HInit + HRest. Feature Extraction - MFCC. Example of MFCC. Acoustic Model. 5. Hidden Markov Model/Gaussian Mixture Model Acoustic model unit : Initial Final set 3 states per model
E N D
專題研究 (2)HINIT + HREST + HEREST Prof. Lin-Shan Lee, TA. Yun-Nung Chen
Acoustic Model Initialization HInit + HRest
Acoustic Model 5 • Hidden Markov Model/Gaussian Mixture Model • Acoustic model unit : Initial Final set • 3 states per model • 1 Gaussian mixture per state • We will increase Gaussian mixture next time • Example
Phone Model Training • Train a phone model “ai” • Label data • Example • HInit – find a starting point • HRest – climb hill
Acoustic Model Training HERest
Acoustic Model Training • Add “ai” into “hmm.set.no_ai” • Other phones have been trained • HERest • Also hill climbing • Consider whole utterance • Do several times
Appendix HInit + HRest + HERest
HInit • Hinit • -A print command line • -T 1 trace flag to 1 • -C ./config/train.cfg set config file • -l ai set segment label • -o ai hmm def output • -S ./scp/train.scp set file of features • -L /share/data/TrainingLabel/ set input label dir • proto hmm file
HRest • HRest • -A print command line • -T 1 trace flag to 1 • -C ./config/train.cfg set config file • -l ai set segment label • -S ./scp/train.scp set file of features • -L /share/data/TrainingLabel/ set input label dir • ai hmm file
HERest • HERest • -A print command line • -T 1 trace flag to 1 • -C ./config/train.cfg set config file • -S ./scp/train.scp set file of features • -L /share/data/TrainingLabel/ set input label dir • -H hmmset.mmf load hmm file • -M hmm_herest write hmm file dir • ./list/phone.lst hmm list
Homework HInit + HRest + HERest
To Do • Acoustic model initialization • HInit +HRest • Train phone model “ai” • Acoustic model re-training • HERest • HTKBook Chap 8.1 – 8.5
About Linux Saving your time…
To Save Your Time … • Install Cygwin • Ref: 工作站使用說明 • Install HTK on your PC • Download HTK from 課程網站
Tips (cygwin) • 選擇你要的套件: