acc_global_stats

aligner.multiprocessing.acc_global_stats(config, num_jobs, iteration)[source]

Multiprocessing function that accumulates global GMM stats

See:

for more details on the Kaldi binary this runs.

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

Parameters:
directory : str

Directory of Diagonal UBM training

config : DiagUbmConfig

Configuration object for training

feats : str

Path to LDA features

num_jobs : int

The number of processes to use in calculation

iteration : int

Iteration to calculate stats for