Skip to content

Commit

Permalink
[egs] Make librispeech run_tdnn_discriminative.sh more efficient with…
Browse files Browse the repository at this point in the history
… disk (kaldi-asr#3685)
  • Loading branch information
jiangj-dc authored and danpovey committed Oct 26, 2019
1 parent eb83683 commit e2c006c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions egs/librispeech/s5/local/chain/run_tdnn_discriminative.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ if [ $frame_subsampling_factor -ne 1 ]; then

data_dirs=
for x in `seq -$[frame_subsampling_factor/2] $[frame_subsampling_factor/2]`; do
steps/shift_feats.sh --cmd "$train_cmd --max-jobs-run 40" --nj 350 \
$x $train_data_dir exp/shift_hires mfcc_hires
utils/data/shift_feats.sh --cmd "$train_cmd --max-jobs-run 40" --nj 350 \
$x $train_data_dir exp/shift_hires
utils/fix_data_dir.sh ${train_data_dir}_fs$x
data_dirs="$data_dirs ${train_data_dir}_fs$x"
awk -v nfs=$x '{print "fs"nfs"-"$0}' $train_ivector_dir/ivector_online.scp >> ${train_ivector_dir}_fs/ivector_online.scp
Expand Down

0 comments on commit e2c006c

Please sign in to comment.