Sgmm2FmllrConfig Struct Reference

Configuration variables needed in the estimation of FMLLR for SGMMs. More...

#include <fmllr-sgmm2.h>

Collaboration diagram for Sgmm2FmllrConfig:

Public Member Functions

 Sgmm2FmllrConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 fmllr_iters
 Number of iterations in FMLLR estimation. More...
 
int32 step_iters
 Iterations to find optimal FMLLR step size. More...
 
BaseFloat fmllr_min_count_basis
 Minimum occupancy count to estimate FMLLR using basis matrices. More...
 
BaseFloat fmllr_min_count
 Minimum occupancy count to estimate FMLLR without basis matrices. More...
 
BaseFloat fmllr_min_count_full
 Minimum occupancy count to stop using FMLLR bases and switch to regular FMLLR estimation. More...
 
int32 num_fmllr_bases
 Number of basis matrices to use for FMLLR estimation. More...
 
BaseFloat bases_occ_scale
 Scale per-speaker count to determine number of CMLLR bases. More...
 

Detailed Description

Configuration variables needed in the estimation of FMLLR for SGMMs.

Definition at line 40 of file fmllr-sgmm2.h.

Constructor & Destructor Documentation

◆ Sgmm2FmllrConfig()

Sgmm2FmllrConfig ( )
inline

Definition at line 56 of file fmllr-sgmm2.h.

References Sgmm2FmllrConfig::Register().

56  {
57  fmllr_iters = 5;
58  step_iters = 10;
59  fmllr_min_count_basis = 100.0;
60  fmllr_min_count = 1000.0;
61  fmllr_min_count_full = 5000.0;
62  num_fmllr_bases = 50;
63  bases_occ_scale = 0.2;
64  }
BaseFloat fmllr_min_count_full
Minimum occupancy count to stop using FMLLR bases and switch to regular FMLLR estimation.
Definition: fmllr-sgmm2.h:49
BaseFloat bases_occ_scale
Scale per-speaker count to determine number of CMLLR bases.
Definition: fmllr-sgmm2.h:54
int32 fmllr_iters
Number of iterations in FMLLR estimation.
Definition: fmllr-sgmm2.h:41
int32 step_iters
Iterations to find optimal FMLLR step size.
Definition: fmllr-sgmm2.h:42
int32 num_fmllr_bases
Number of basis matrices to use for FMLLR estimation.
Definition: fmllr-sgmm2.h:52
BaseFloat fmllr_min_count_basis
Minimum occupancy count to estimate FMLLR using basis matrices.
Definition: fmllr-sgmm2.h:44
BaseFloat fmllr_min_count
Minimum occupancy count to estimate FMLLR without basis matrices.
Definition: fmllr-sgmm2.h:46

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 69 of file fmllr-sgmm2.h.

References Sgmm2FmllrConfig::bases_occ_scale, Sgmm2FmllrConfig::fmllr_iters, Sgmm2FmllrConfig::fmllr_min_count, Sgmm2FmllrConfig::fmllr_min_count_basis, Sgmm2FmllrConfig::fmllr_min_count_full, Sgmm2FmllrConfig::num_fmllr_bases, OptionsItf::Register(), and Sgmm2FmllrConfig::step_iters.

Referenced by main(), and Sgmm2FmllrConfig::Sgmm2FmllrConfig().

69  {
70  std::string module = "Sgmm2FmllrConfig: ";
71  opts->Register("fmllr-iters", &fmllr_iters, module+
72  "Number of iterations in FMLLR estimation.");
73  opts->Register("fmllr-step-iters", &step_iters, module+
74  "Number of iterations to find optimal FMLLR step size.");
75  opts->Register("fmllr-min-count-bases", &fmllr_min_count_basis, module+
76  "Minimum occupancy count to estimate FMLLR using basis matrices.");
77  opts->Register("fmllr-min-count", &fmllr_min_count, module+
78  "Minimum occupancy count to estimate FMLLR (without bases).");
79  opts->Register("fmllr-min-count-full", &fmllr_min_count_full, module+
80  "Minimum occupancy count to stop using basis matrices for FMLLR.");
81  opts->Register("fmllr-num-bases", &num_fmllr_bases, module+
82  "Number of FMLLR basis matrices.");
83  opts->Register("fmllr-bases-occ-scale", &bases_occ_scale, module+
84  "Scale per-speaker count to determine number of CMLLR bases.");
85 }
BaseFloat fmllr_min_count_full
Minimum occupancy count to stop using FMLLR bases and switch to regular FMLLR estimation.
Definition: fmllr-sgmm2.h:49
BaseFloat bases_occ_scale
Scale per-speaker count to determine number of CMLLR bases.
Definition: fmllr-sgmm2.h:54
int32 fmllr_iters
Number of iterations in FMLLR estimation.
Definition: fmllr-sgmm2.h:41
int32 step_iters
Iterations to find optimal FMLLR step size.
Definition: fmllr-sgmm2.h:42
int32 num_fmllr_bases
Number of basis matrices to use for FMLLR estimation.
Definition: fmllr-sgmm2.h:52
BaseFloat fmllr_min_count_basis
Minimum occupancy count to estimate FMLLR using basis matrices.
Definition: fmllr-sgmm2.h:44
BaseFloat fmllr_min_count
Minimum occupancy count to estimate FMLLR without basis matrices.
Definition: fmllr-sgmm2.h:46

Member Data Documentation

◆ bases_occ_scale

BaseFloat bases_occ_scale

Scale per-speaker count to determine number of CMLLR bases.

Definition at line 54 of file fmllr-sgmm2.h.

Referenced by Sgmm2FmllrConfig::Register(), and FmllrSgmm2Accs::Update().

◆ fmllr_iters

int32 fmllr_iters

Number of iterations in FMLLR estimation.

Definition at line 41 of file fmllr-sgmm2.h.

Referenced by Sgmm2FmllrConfig::Register(), and FmllrSgmm2Accs::Update().

◆ fmllr_min_count

BaseFloat fmllr_min_count

Minimum occupancy count to estimate FMLLR without basis matrices.

Definition at line 46 of file fmllr-sgmm2.h.

Referenced by Sgmm2FmllrConfig::Register(), TestSgmm2FmllrAccsIO(), and FmllrSgmm2Accs::Update().

◆ fmllr_min_count_basis

BaseFloat fmllr_min_count_basis

Minimum occupancy count to estimate FMLLR using basis matrices.

Definition at line 44 of file fmllr-sgmm2.h.

Referenced by Sgmm2FmllrConfig::Register(), and FmllrSgmm2Accs::Update().

◆ fmllr_min_count_full

BaseFloat fmllr_min_count_full

Minimum occupancy count to stop using FMLLR bases and switch to regular FMLLR estimation.

Definition at line 49 of file fmllr-sgmm2.h.

Referenced by Sgmm2FmllrConfig::Register(), and FmllrSgmm2Accs::Update().

◆ num_fmllr_bases

int32 num_fmllr_bases

Number of basis matrices to use for FMLLR estimation.

Can only *reduce* the number of bases present. Overridden by the 'bases_occ_scale' option.

Definition at line 52 of file fmllr-sgmm2.h.

Referenced by Sgmm2FmllrConfig::Register(), TestSgmm2FmllrSubspace(), and FmllrSgmm2Accs::Update().

◆ step_iters

int32 step_iters

Iterations to find optimal FMLLR step size.

Definition at line 42 of file fmllr-sgmm2.h.

Referenced by Sgmm2FmllrConfig::Register().


The documentation for this struct was generated from the following file: