Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

calib

游雁4ffd5655da08
diff --git a/funasr/export/export_model.py b/funasr/export/export_model.py
index b827f16b3..c5bcac1e0 100644
--- a/funasr/export/export_model.py
+++ b/funasr/export/export_model.py
@@ -74,7 +74,8 @@ class ASRModelExportParaformer:
# 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 32166c1b0..fe13da7d8 100644
--- a/funasr/runtime/python/utils/test_rtf.sh
+++ b/funasr/runtime/python/utils/test_rtf.sh
@@ -39,7 +39,7 @@ for JOB in $(seq ${nj}); do
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