From 4ffd5655da0884095e68cc7207bf9bf5d409d2bb Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 16 三月 2023 16:40:15 +0800
Subject: [PATCH] calib
---
funasr/runtime/python/utils/test_rtf.sh | 2 +-
funasr/export/export_model.py | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/funasr/export/export_model.py b/funasr/export/export_model.py
index b827f16..c5bcac1 100644
--- a/funasr/export/export_model.py
+++ b/funasr/export/export_model.py
@@ -74,7 +74,8 @@
# using dummy inputs for a example
if self.audio_in is not None:
feats, feats_len = self.load_feats(self.audio_in)
- for feat, len in zip(feats, feats_len):
+ for i, (feat, len) in enumerate(zip(feats, feats_len)):
+ print("debug, iter: {}".format(i))
m(feat, len)
else:
dummy_input = model.get_dummy_inputs()
diff --git a/funasr/runtime/python/utils/test_rtf.sh b/funasr/runtime/python/utils/test_rtf.sh
index 32166c1..fe13da7 100644
--- a/funasr/runtime/python/utils/test_rtf.sh
+++ b/funasr/runtime/python/utils/test_rtf.sh
@@ -39,7 +39,7 @@
split_scps="$split_scps $local_scp_dir/wav.$JOB.scp"
done
-perl egs/aishell/transformer/utils/split_scp.pl $scp ${split_scps}
+perl ../../../egs/aishell/transformer/utils/split_scp.pl $scp ${split_scps}
for JOB in $(seq ${nj}); do
--
Gitblit v1.9.1