20 #ifndef KALDI_NNET2_MIXUP_NNET_H_ 21 #define KALDI_NNET2_MIXUP_NNET_H_ 38 num_mixtures(-1), perturb_stddev(0.01) { }
41 opts->
Register(
"power", &power,
"Scaling factor used in determining the " 42 "number of mixture components to use for each HMM state " 43 "(or group of HMM states)");
44 opts->
Register(
"min-count", &min_count,
"Minimum count for a quasi-Gaussian, " 45 "enforced while allocating mixtures (obscure parameter).");
46 opts->
Register(
"num-mixtures", &num_mixtures,
"If specified, total number of " 47 "mixture components to mix up to (should be at least the " 48 "#leaves in the system");
49 opts->
Register(
"perturb-stddev", &perturb_stddev,
"Standard deviation used " 50 "when perturbing parameters during mixing up");
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
void Register(OptionsItf *opts)
This header provides functionality for sample-by-sample stochastic gradient descent and gradient comp...
void MixupNnet(const NnetMixupConfig &mixup_config, Nnet *nnet)
This function works as follows.