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

Multiprocessing function that extracts i-vectors.


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/extract_ivectors_online.sh for the original bash script that this function was based on.

directory : str

Directory of nnet training

training_dir : str

Directory of nnet training

ieconf: str

Path to ivector extractor configuration

config : iVectorExtractorConfig

Configuration object for training

num_jobs : int

The number of processes to use in calculation