From 81fe1e0a098458a22a961eeb3e7d3dbcf8e43663 Mon Sep 17 00:00:00 2001
From: 嘉渊 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期三, 19 七月 2023 10:58:08 +0800
Subject: [PATCH] update

---
 egs/callhome/eend_ola/local/infer.py |    6 ++++++
 egs/callhome/eend_ola/run_test.sh    |    3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/egs/callhome/eend_ola/local/infer.py b/egs/callhome/eend_ola/local/infer.py
index 78d160d..1322468 100644
--- a/egs/callhome/eend_ola/local/infer.py
+++ b/egs/callhome/eend_ola/local/infer.py
@@ -64,6 +64,12 @@
         help="setting subsampling",
     )
     parser.add_argument(
+        "--shuffle",
+        type=bool,
+        default=True,
+        help="shuffle speech in time",
+    )
+    parser.add_argument(
         "--attractor_threshold",
         type=float,
         default=0.5,
diff --git a/egs/callhome/eend_ola/run_test.sh b/egs/callhome/eend_ola/run_test.sh
index d004446..c198e73 100644
--- a/egs/callhome/eend_ola/run_test.sh
+++ b/egs/callhome/eend_ola/run_test.sh
@@ -253,5 +253,6 @@
         --config_file ${exp_dir}/exp/${callhome_model_dir}/config.yaml \
         --model_file ${exp_dir}/exp/${callhome_model_dir}/$callhome_ave_id.pb \
         --output_rttm_file ${exp_dir}/exp/${callhome_model_dir}/inference/rttm \
-        --wav_scp_file ${callhome_feats_dir_chunk2000}/${callhome_valid_dataset}/${callhome2_wav_scp_file} 1> ${exp_dir}/exp/${callhome_model_dir}/inference/log/infer.log 2>&1
+        --wav_scp_file ${callhome_feats_dir_chunk2000}/${callhome_valid_dataset}/${callhome2_wav_scp_file} \
+        1> ${exp_dir}/exp/${callhome_model_dir}/inference/log/infer.log 2>&1
 fi
\ No newline at end of file

--
Gitblit v1.9.1