Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions egs/aspire/s5/local/chain/tuning/run_tdnn_lstm_1a.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if [ $stage -le 8 ]; then

for n in `seq $nj`; do
awk '{print $1}' data/${train_set}/split$nj/$n/utt2spk | \
perl -ane 's/rev[1-3]_//g' > $lat_dir/uttlist.$n.$nj
perl -ane 's/rev[1-3]-//g' > $lat_dir/uttlist.$n.$nj
done

rm -f $lat_dir/lat_tmp.*.{ark,scp} 2>/dev/null
Expand Down Expand Up @@ -308,4 +308,3 @@ if [ $stage -le 17 ]; then
fi

exit 0;

3 changes: 1 addition & 2 deletions egs/wsj/s5/steps/data/reverberate_data_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def generate_reverberation_opts(room_dict, # the room dictionary, please refer
def get_new_id(id, prefix=None, copy=0):
""" This function generates a new id from the input id
This is needed when we have to create multiple copies of the original data
E.g. get_new_id("swb0035", prefix="rvb", copy=1) returns a string "rvb1_swb0035"
E.g. get_new_id("swb0035", prefix="rvb", copy=1) returns a string "rvb1-swb0035"
"""
if prefix is not None:
new_id = prefix + str(copy) + "-" + id
Expand Down Expand Up @@ -675,4 +675,3 @@ def main():

if __name__ == "__main__":
main()