nnet_train_trans(nnet_dir, align_dir, prev_ali_path, num_jobs)¶
Multiprocessing function that trains transition prbabilities and sets priors.
for more details on the Kaldi binary this runs.
Also see https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/steps/nnet2/train_pnorm_multisplice.sh for the original bash script that this function was based on.
- nnet_dir : str
Directory of nnet training
- align_dir : str
Directory of previous alignment
- prev_ali_path : str
Path to previous alignment
- num_jobs : int
The number of processes to use in calculation