Commit f87d2486 authored by Gaurav Kumar's avatar Gaurav Kumar
Browse files

Removed white space at new line breaks for run.sh. Temporary files now get...

Removed white space at new line breaks for run.sh. Temporary files now get deleted only when they exist

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4221 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent bd5b679d
......@@ -25,6 +25,8 @@ do
utils/fix_data_dir.sh $data_dir/$split
utils/validate_data_dir.sh $data_dir/$split
rm $data_dir/$split/*.tmp
if ls $data_dir/$split/*.tmp &> /dev/null; then
rm $data_dir/$split/*.tmp
fi
done
......@@ -56,14 +56,14 @@ steps/compute_cmvn_stats.sh data/train exp/make_mfcc/train $mfccdir
# ones (mostly uh-huh). So take the 100k shortest ones, and then take 10k random
# utterances from those.
steps/train_mono.sh --nj 10 --cmd "$train_cmd" \
steps/train_mono.sh --nj 10 --cmd "$train_cmd" \
data/train data/lang exp/mono0a
steps/align_si.sh --nj 30 --cmd "$train_cmd" \
data/train data/lang exp/mono0a exp/mono0a_ali || exit 1;
steps/train_deltas.sh --cmd "$train_cmd" \
1000 10000 data/train data/lang exp/mono0a_ali exp/tri1 || exit 1;
steps/align_si.sh --nj 30 --cmd "$train_cmd" \
data/train data/lang exp/mono0a exp/mono0a_ali || exit 1;
steps/train_deltas.sh --cmd "$train_cmd" \
1000 10000 data/train data/lang exp/mono0a_ali exp/tri1 || exit 1;
(utils/mkgraph.sh data/lang_test exp/tri1 exp/tri1/graph
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment