git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/pitch@3195 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Dan Povey 2013-11-21 21:41:40 +00:00
Родитель 07986043f4
Коммит fd62309d99
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -80,7 +80,7 @@ if [ -f $data/segments ]; then
extract-segments scp:$scp $logdir/segments.JOB ark:- \| \
compute-kaldi-pitch-feats --verbose=2 --config=$pitch_config ark:- ark:- \| \
process-kaldi-pitch-feats $postprocess_config_opt ark:- \
ark,scp:$pitchdir/raw_pitch_$name.JOB.ark,$pitchdir/raw_pitch_$name.JOB.scp \
ark,scp:$pitchdir/pitch_$name.JOB.ark,$pitchdir/pitch_$name.JOB.scp \
|| exit 1;
else
@ -95,7 +95,7 @@ else
$cmd JOB=1:$nj $logdir/make_pitch.JOB.log \
compute-kaldi-pitch-feats --verbose=2 --config=$pitch_config ark:- ark:- \| \
process-kaldi-pitch-feats $postprocess_config_opt ark:- \
ark,scp:$pitchdir/raw_pitch_$name.JOB.ark,$pitchdir/raw_pitch_$name.JOB.scp \
ark,scp:$pitchdir/pitch_$name.JOB.ark,$pitchdir/pitch_$name.JOB.scp \
|| exit 1;
fi
@ -108,7 +108,7 @@ fi
# concatenate the .scp files together.
for ((n=1; n<=nj; n++)); do
cat $pitchdir/raw_pitch_$name.$n.scp || exit 1;
cat $pitchdir/pitch_$name.$n.scp || exit 1;
done > $data/feats.scp
rm $logdir/wav.*.scp $logdir/segments.* 2>/dev/null