20 #ifndef KALDI_NNET2_TRAIN_NNET_H_ 21 #define KALDI_NNET2_TRAIN_NNET_H_ 36 minibatches_per_phase(50) { }
39 opts->
Register(
"minibatch-size", &minibatch_size,
40 "Number of samples per minibatch of training data.");
41 opts->
Register(
"minibatches-per-phase", &minibatches_per_phase,
42 "Number of minibatches to wait before printing training-set " 58 double *tot_weight = NULL,
59 double *tot_logprob = NULL);
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void Register(OptionsItf *opts)
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
int64 TrainNnetSimple(const NnetSimpleTrainerConfig &config, Nnet *nnet, SequentialNnetExampleReader *reader, double *tot_weight_ptr, double *tot_logprob_ptr)
Train on all the examples it can read from the reader.
A templated class for reading objects sequentially from an archive or script file; see The Table conc...
NnetSimpleTrainerConfig()
This header provides functionality for sample-by-sample stochastic gradient descent and gradient comp...
int32 minibatches_per_phase