aligner.multiprocessing.relabel_egs(i, nnet_dir, egs_in, alignments, egs_out, num_jobs)[source]

Multiprocessing function that relabels training examples


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_in : str

Path to examples to be relabeled

egs_out : str

Path to where relabeled examples will go

num_jobs : int

The number of processes to use in calculation