您的位置:首页 > 其它

kaldi parallelism

2015-12-21 10:34 155 查看
This post focus on
run.pl
of local parallelism.

run.pl <options> <log-file> <command>


<options>
: a job range specifier (e.g.
JOB=1:4
), the identifier name needn’t be
JOB
, and is uppercase conventionally.

<log-file>
: file name for array jobs must contain identifier of the array (e.g.
foo.JOB.log
)

<command>
: basically, can be anything. You need to escape pipe symbol
|
as
\|
, and other things like
;
and
>
.

examples:

run.pl foo.log echo "hello, kaldi"

run.pl JOB=1:4 foo.JOB.log echo "hello, job: JOB"

run.pl test.log echo "foo" \| sed `s/f/F`


run.pl
will replace the
JOB
in the command line with a number within the range.

Reference

Parallelization in Kaldi
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  kaldi