acc_ivector_stats

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

Multiprocessing function that calculates i-vector extractor 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/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

feat_path : str

Path to features without CMVN

num_jobs : int

The number of processes to use in calculation

iteration : int

Iteration to calculate stats for