cd 目錄到 "HTS-demo_NIT-ATR503-M001"
隨著訓練語料的多寡,必小心電腦的記憶體大小,否則會造成訓練不出model情況!
以清大語料來看記憶體要大於2G以上比較好
將北京清大語料data取代HTS-demo_NIT-ATR503-M001的data,並到raw資料夾檢查語料是否含有日文資料,如有請重新刪除,假如一時疏漏已經執行到make階段,終止程序(Ctrl+C)並且make clean清除以編譯好的文件,
make distclean 把./configure產生的文件刪掉,若要回復configure文件請輸入步驟(3) setting path的指令
ps 顯示背景工作程序
(1)執行"make clean" 與 "make distclean"
(2) "HTS-demo_NIT-ATR503-M001資料夾下 open "configure.ac" modify like those ,finally save.
修改參數時請用手打,避免到格行
------------------------------------------------------------------------------
#語料設定
#一般語料如"th_cross_female_sen0001.raw"
# speaker and dataset names
if test -z "$SPEAKER"; then
SPEAKER=female
fi
if test -z "$DATASET"; then
DATASET=th_coss
fi
#由於HTS語料的sample rate is 44kHz,而我們使用的為16Hz因此需要修改音框大小移
#動量等設定
# default values
if test -z "$FRAMELEN"; then
FRAMELEN=400
fi
if test -z "$FRAMESHIFT"; then
FRAMESHIFT=80
fi
if test -z "$WINDOWTYPE"; then
WINDOWTYPE=1
fi
if test -z "$NORMALIZE"; then
NORMALIZE=1
fi
if test -z "$FFTLEN"; then
FFTLEN=512
fi
if test -z "$SAMPFREQ"; then
SAMPFREQ=16000
fi
#HMM模型的參數設定或修改如下
if test -z "$MGCORDER"; then
if test $GAMMA -eq 0; then
MGCORDER=24
else
MGCORDER=12
fi
fi
if test -z "$LOWERF0"; then
LOWERF0=80
fi
if test -z "$UPPERF0"; then
UPPERF0=350
fi
------------------------------------------------------------------------------
(3) setting path 產生
configure: creating ./config.status
config.status: creating data/Makefile
config.status: creating scripts/Config.pm
config.status: creating Makefile
./configure --with-tcl-search-path=/opt/ActiveTcl-8.4/bin --with-sptk-search-path=/usr/local/SPTK/bin --with-hts-search-path=/usr/local/HTS-2.2beta/bin --with-hts-engine-search-path=/usr/local/bin
(3) setting path 產生
configure: creating ./config.status
config.status: creating data/Makefile
config.status: creating scripts/Config.pm
config.status: creating Makefile
(4)"HTS-demo_NIT-ATR503-M001資料夾下 open "configure" modify like step (1) ,finally save.
(5) make
跑完後model會放在voice>qst0001>ver1
(5) make
跑完後model會放在voice>qst0001>ver1
沒有留言:
張貼留言