aligner.multiprocessing.compute_prob(i, nnet_dir, egs_dir, model_path, num_jobs)[source]

Multiprocessing function that computes the current log probability of the iteration


for more details on the Kaldi binary this runs.

Also see for the original bash script that this function was based on.

i : int

Number of the current iteration

nnet_dir : str

Directory of nnet training

egs_dir : str

Directory for training examples

model_path : str

Path to the current iteration’s model

num_jobs : int

The number of processes to use in calculation