relabel_egs(i, nnet_dir, egs_in, alignments, egs_out, num_jobs)¶
Multiprocessing function that relabels training examples
for more details on the Kaldi binary this runs.
Also see https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/steps/nnet2/relabel_egs2.sh 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