Skip to content

Commit 6ef3fe8

Browse files
authored
[egs,scripts] fix the cmd issue in some wake word recipes (kaldi-asr#4050)
1 parent 3b4d044 commit 6ef3fe8

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

egs/mobvoi/v1/local/chain/tuning/run_tdnn_1a.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ $stage -le 2 ]; then
103103
fi
104104

105105
if [ $stage -le 3 ]; then
106-
local/copy_lat_dir.sh --nj 75 --utt-prefixes "$aug_prefix" \
106+
local/copy_lat_dir.sh --nj 75 --cmd "$train_cmd" --utt-prefixes "$aug_prefix" \
107107
$combined_train_data_dir $lat_dir $combined_lat_dir
108108
fi
109109

egs/mobvoi/v1/local/mobvoi_data_download.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 2018-2020 Daniel Povey
55
# Apache 2.0
66

7-
# This script loads the speech commands dataset v0.2.
7+
# This script loads the Mobvoi dataset.
88
[ -f ./path.sh ] && . ./path.sh
99

1010
dl_dir=data/download

egs/mobvoi/v1/local/prepare_wav.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 2018-2020 Daniel Povey
55
# Apache 2.0
66

7-
""" This script prepares the speech commands data into kaldi format.
7+
""" This script prepares the Mobvoi data into kaldi format.
88
"""
99

1010

egs/snips/v1/local/chain/tuning/run_tdnn_1a.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if [ $stage -le 2 ]; then
100100
fi
101101

102102
if [ $stage -le 3 ]; then
103-
local/copy_lat_dir.sh --nj 75 --utt-prefixes "$aug_prefix" \
103+
local/copy_lat_dir.sh --nj 75 --cmd "$train_cmd" --utt-prefixes "$aug_prefix" \
104104
$combined_train_data_dir $lat_dir $combined_lat_dir
105105
fi
106106

egs/snips/v1/local/prepare_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 2018-2020 Daniel Povey
55
# Apache 2.0
66

7-
""" This script prepares the speech commands data into kaldi format.
7+
""" This script prepares the SNIPS data into kaldi format.
88
"""
99

1010

egs/snips/v1/local/snips_data_download.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 2018-2020 Daniel Povey
55
# Apache 2.0
66

7-
# This script loads the speech commands dataset v0.2.
7+
# This script loads the SNIPS dataset.
88
[ -f ./path.sh ] && . ./path.sh
99

1010
dl_dir=data/download

scripts/wakeword/copy_lat_dir.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
utt_prefixes=
66
max_jobs_run=30
77
nj=75
8-
cmd=queue.pl
8+
cmd=run.pl
99
write_compact=true
1010

1111
echo "$0 $@" # Print the command line for logging

0 commit comments

Comments
 (0)