Open brucellino opened 8 years ago
There appears to be an error with the way the MFC is created. Comparing the execution between the ASR template and the CODE-RADE HTK example, the execution seems similar:
bash $DIR_SRC/cmn.sh $FLAG $LIST 2>&1 | tee -a $DIR_EXP/log/cmn.log
bash cmn.sh $FLAG $LIST 2>&1 | tee -a log/cmn.log
The command that is executed on the WN is :
HCompV -A -T 1 +++ -C +++ /nfs/home-GLITE/sagrid005/home_cream_125980864/CREAM125980864/cvn_vectors -k "*/mfccs/%%%_*.mfc" -q v -S /nfs/home-GLITE/sagrid005/home_cream_125980864/all.mfccs.lst
The diff between the template cmn script and the one in contrib
is :
< LOCAL_MFCC_LIST=$DIR_SCRATCH/all.mfccs.lst
---
> LOCAL_MFCC_LIST=all.mfccs.lst
79c79
< bash $DIR_SRC/create_configs.sh hcopy $LOCAL_CFG_HCOPY
---
> ./create_configs.sh hcopy $LOCAL_CFG_HCOPY
100,101c100,101
< bash $DIR_SRC/create_configs.sh hcopy $LOCAL_CFG_HCOPY
< echo "HPARM:CMEANDIR = '$CMEANDIR'" >> $LOCAL_CFG_HCOPY
---
> ./create_configs.sh hcopy $LOCAL_CFG_HCOPY
> echo "HPARM:CMEANDIR = '$CMEANDIR'" >> $LOCAL_CFG_HCOPY
111c111
< bash $DIR_SRC/check_exit_status.sh $0 $?
---
> ./check_exit_status.sh $0 $?
There was also an error in the cmn.sh
script, which was fixed in cf88cd1
For reference,the config that is generated is :
CEPLIFTER = 22
ENORMALISE = FALSE
NUMCEPS = 12
NUMCHANS = 26
PREEMCOEF = 0.97
SAVECOMPRESSED = FALSE
SAVEWITHCRC = FALSE
SOURCEFORMAT = WAVE
TARGETKIND = MFCC_0_D_A_Z
TARGETRATE = 100000.0
USEHAMMING = TRUE
WINDOWSIZE = 250000.0
ZMEANSOURCE = TRUE
LOFREQ = 150
HIFREQ = 4000
HPARM:CMEANDIR = '/nfs/home-GLITE/sagrid005/home_cream_036166732/CREAM036166732/cmn_vectors'
HPARM:CMEANMASK = '*/audio/???/%%%_*.wav'
HPARM:VARSCALEDIR = '/nfs/home-GLITE/sagrid005/home_cream_036166732/CREAM036166732/cvn_vectors'
HPARM:VARSCALEMASK = '*/audio/???/%%%_*.wav'
HPARM:VARSCALEFN = '/nfs/home-GLITE/sagrid005/home_cream_036166732/CREAM036166732/cvn_vectors/globvariance'