Skip to content

Commit

Permalink
[scripts] fix_data_dir.sh in perturb_data_dir_speed.sh (kaldi-asr#4614)
Browse files Browse the repository at this point in the history
* fix_data_dir.sh used in perturb_data_dir_speed.sh

fixes the dataset directory before checking it.

* fix_data_dir.sh used in perturb_data_dir_speed.sh

fixes the dataset directory before checking it. Otherwise an error is thrown about not sorting files in validate.
  • Loading branch information
lubacien authored Aug 21, 2021
1 parent 146bdff commit 8e92112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/wsj/s5/utils/perturb_data_dir_speed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,5 @@ cat $srcdir/reco2dur | utils/apply_map.pl -f 1 $destdir/reco_map | \

rm $destdir/spk_map $destdir/utt_map $destdir/reco_map 2>/dev/null
echo "$0: generated speed-perturbed version of data in $srcdir, in $destdir"

utils/fix_data_dir.sh $destdir
utils/validate_data_dir.sh --no-feats --no-text $destdir

0 comments on commit 8e92112

Please sign in to comment.