meaning of nj

174 views
Skip to first unread message

Ana Montalvo

unread,
Mar 9, 2016, 10:03:05 AM3/9/16
to kaldi-help
Hi all! Sorry if this question is too obvious but I dont get the meaning of the variable <nj> and its relation with the data subsets and number of parallel jobs. Is it related with the number of cpus of your machine?
Why in timit example (run.sh) it is set: feats_nj=10, train_nj=30, decode_nj=5?
super thx in advance!
ana
 

remi....@gmail.com

unread,
Mar 9, 2016, 10:09:38 AM3/9/16
to kaldi-help
It's the number of jobs you want to run in parallel. Usually you can have one job per virtual core on each machines.
If you use run.pl, it will all run on your computer at the same time, so you should keep this number low. If you use queue.pl or any other queue management system, you can have this higher, but there is no point having the number of jobs much higher than the number of slots available.
Reply all
Reply to author
Forward
0 new messages