Kaldi学习笔记 score-plda.sh 解读

1 Usage

  

is where to store pretrained plda model.
is where to store xvector and corresponding spk2utt, etc.
output-dir is where to output the plda scores.

2 Code and Comments

feats="ark:ivector-subtract-global-mean $pldadir/mean.vec scp:$sdata/JOB/feats.scp ark:- | transform-vec $pldadir/transform.mat ark:- ark:- | ivector-normalize-length ark:- ark:- |"
$cmd JOB=1:$nj $dir/log/plda_scoring.JOB.log \
ivector-plda-scoring-dense --target-energy=$target_energy $pldadir/plda \
    ark:$sdata/JOB/spk2utt "$feats" ark,scp:$dir/scores.JOB.ark,$dir/scores.JOB.scp || exit 1;

ivector-subtract-global-mean use mean.vec, read and write from and into feats.scp;
ivector-plda-scoring-dense calculate plda scores.

你可能感兴趣的:(Kaldi学习笔记 score-plda.sh 解读)