Multiprocessing function that does Gaussian selection and posterior extraction
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.
- directory : str
Directory of i-vector extractor training
- config :
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