gauss_to_post

aligner.multiprocessing.gauss_to_post(config, num_jobs)[source]

Multiprocessing function that does Gaussian selection and posterior extraction

See:

for more details on the Kaldi binary this runs.

Also see https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/steps/online/nnet2/train_ivector_extractor.sh for the original bash script that this function was based on.

Parameters:
directory : str

Directory of i-vector extractor training

config : iVectorExtractorConfig

Configuration object for training

diag_ubm_directory : str

Directory of the diagonal UBM

gmm_feats : str

Path to features with online CMVN

num_jobs : int

The number of processes to use in calculation