From 8048880d7942707ff948b4f2c76b5b510d39185a Mon Sep 17 00:00:00 2001 From: Geon Woo Lee Date: Thu, 11 Aug 2022 23:25:10 +0900 Subject: [PATCH] Update prepare_data.sh (#638) In line 13, 'n_src' is string not variable. So, 'n_src' should chance to '$n_src'. --- egs/librimix/ConvTasNet/local/prepare_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librimix/ConvTasNet/local/prepare_data.sh b/egs/librimix/ConvTasNet/local/prepare_data.sh index a5760544c..370e20f31 100644 --- a/egs/librimix/ConvTasNet/local/prepare_data.sh +++ b/egs/librimix/ConvTasNet/local/prepare_data.sh @@ -10,7 +10,7 @@ if [[ $n_src -le 1 ]] then changed_n_src=2 else - changed_n_src=n_src + changed_n_src=$n_src fi $python_path local/create_local_metadata.py --librimix_dir $storage_dir/Libri$changed_n_src"Mix"