sandbox/language_id: script bug fix.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/language_id@3598 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Dan Povey 2014-02-25 22:34:00 +00:00
Родитель f686098e30
Коммит c62c4464a0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -78,6 +78,6 @@ if [ $stage -le 2 ]; then
echo "$0: computing mean of iVectors for each speaker and length-normalizing" echo "$0: computing mean of iVectors for each speaker and length-normalizing"
$cmd $dir/log/speaker_mean.log \ $cmd $dir/log/speaker_mean.log \
ivector-normalize-length scp:$dir/ivector.scp ark:- \| \ ivector-normalize-length scp:$dir/ivector.scp ark:- \| \
ivector-mean "ark:utils/spk2utt_to_utt2spl.pl $data/utt2lang|" ark:- ark:- ark,t:$dir/num_utts.ark \| \ ivector-mean "ark:utils/spk2utt_to_utt2spk.pl $data/utt2lang|" ark:- ark:- ark,t:$dir/num_utts.ark \| \
ivector-normalize-length ark:- ark,scp:$dir/lang_ivector.ark,$dir/lang_ivector.scp || exit 1; ivector-normalize-length ark:- ark,scp:$dir/lang_ivector.ark,$dir/lang_ivector.scp || exit 1;
fi fi