From 8e921129dba99c7b7491d015650e8a3095ce2f99 Mon Sep 17 00:00:00 2001 From: lubacien Date: Sat, 21 Aug 2021 08:25:09 +0200 Subject: [PATCH] [scripts] fix_data_dir.sh in perturb_data_dir_speed.sh (#4614) * 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. --- egs/wsj/s5/utils/perturb_data_dir_speed.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/wsj/s5/utils/perturb_data_dir_speed.sh b/egs/wsj/s5/utils/perturb_data_dir_speed.sh index 33980370a8e..6cdfffc4215 100755 --- a/egs/wsj/s5/utils/perturb_data_dir_speed.sh +++ b/egs/wsj/s5/utils/perturb_data_dir_speed.sh @@ -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