I'm trying to adapt the zh_broadcastnews_ptm256_8000. anytihng goes well until
I get to the step which collects statistics using bw, I get the error
"FATAL_ERROR: "mod_inv.c", line 357: Number of feature streams in
mixture_weights file 4 differs from the configured value 3, check the command
line options".
For different models, make sure that arguments to bw match the arguments
from feat.params. For example, for most continuous models (like the ones used
by Sphinx4) you don't need to include the svspec option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
# of codebooks in mean/var files, 70, inconsistent with ts2cb mapping 1INFO:main.c(395):Willreestimatemixingweights.INFO:main.c(397):Willreestimatemeans.INFO:main.c(399):Willreestimatevariances.INFO:main.c(407):WillreestimatetransitionmatricesINFO:main.c(420):Readingmainlexicon:kw.dicERROR:"lexicon.c",line96:UnknownphoneNIERROR:"lexicon.c",line223:pronunciationfor你的hasundefinedphones;skipping.ERROR:"lexicon.c",line96:UnknownphoneZHANGERROR:"lexicon.c",line223:pronunciationfor账户hasundefinedphones;skipping.ERROR:"lexicon.c",line96:UnknownphoneYIERROR:"lexicon.c",line223:pronunciationfor已hasundefinedphones;skipping.ERROR:"lexicon.c",line96:UnknownphoneQIANERROR:"lexicon.c",line223:pronunciationfor欠费hasundefinedphones;skipping.INFO:lexicon.c(233):0entriesaddedfromkw.dicINFO:main.c(432):Readingfillerlexicon:zh_broadcastnews_ptm256_8000/noisedictINFO:lexicon.c(233):8entriesaddedfromzh_broadcastnews_ptm256_8000/noisedictINFO:corpus.c(1281):Willprocessallremaininguttsstartingat0INFO:main.c(639):Reestimation:Baum-WelchINFO:main.c(644):GeneratingprofilinginformationconsumessignificantCPUresources.INFO:main.c(645):Ifyouarenotinterestedinprofiling,use-timingnoWARNING:"main.c",line686:NOACCUMDIRSET.Nocountswillbewritten;assumingdebugcolumndefns<seq><id><n_frame_in><n_frame_del><n_state_shmm><avg_states_alpha><avg_states_beta><avg_states_reest><avg_posterior_prune><frame_log_lik><utt_log_lik>...timinginfo...utt>0kw_0001stat_retry(kw_0001..mfc)failedERROR:"corpus.c",line1555:MFCCreadofkw_0001..mfcfailed.Retryingaftersleep...stat_retry(kw_0001..mfc)failedERROR:"corpus.c",line1555:MFCCreadofkw_0001..mfcfailed.Retryingaftersleep...stat_retry(kw_0001..mfc)failedERROR:"corpus.c",line1555:MFCCreadofkw_0001..mfcfailed.Retryingaftersleep...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to adapt the zh_broadcastnews_ptm256_8000. anytihng goes well until
I get to the step which collects statistics using bw, I get the error
"FATAL_ERROR: "mod_inv.c", line 357: Number of feature streams in
mixture_weights file 4 differs from the configured value 3, check the command
line options".
the command i typed:
and the entire command line output:
Tutorial says:
Thanks for quick reply. now i change
which according the setting of feat.params in zh_broadcastnews_ptm256_8000:
but the other error occurs:
It failed to read the file according to the name you provided. You need to fix
the contents of the file kw.fileids
You also need to use -ts2cbfn .ptm. since you are trying to adapt PTM model
Thanks nshmyrev.
it solved by changing as below:
and i change the kw.dic as below
to solve the problem before:
but still another problem:
it seems the difference of word segment between chinese and english, so i
change kw.transcription from
to
now the error display as below, is there anything i missed
Thanks nshmyrev's help.
the problem has been solved by passing better quality voice file.
i get the wav from microsoft's t2s system.
Thanks & Regards.