From 3d70b9f21b9e512c7c8b658cbdc569144cf0a6ee Mon Sep 17 00:00:00 2001 From: YAN XIANGJUN <126038017+Yan-Xiangjun@users.noreply.github.com> Date: Mon, 27 Oct 2025 15:40:38 +0800 Subject: [PATCH 1/2] Fix path mistake in FunASR/runtime/python /onnxruntime/README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “FunASR/funasr/runtime/python/onnxruntime”是一个不存在的路径,在执行“cd FunASR”之后,如果用户再执行“cd funasr/runtime/python/onnxruntime”会出现错误。 "FunASR/funasr/runtime/python/onnxruntime" is an invalid path. After executing "cd FunASR", if the user execute "cd funasr/runtime/python/onnxruntime", an error will occur. --- runtime/python/onnxruntime/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/python/onnxruntime/README.md b/runtime/python/onnxruntime/README.md index 8034ac241..6bb3d189c 100644 --- a/runtime/python/onnxruntime/README.md +++ b/runtime/python/onnxruntime/README.md @@ -17,8 +17,8 @@ pip install -U modelscope funasr or install from source code ```shell -git clone https://github.com/alibaba/FunASR.git && cd FunASR -cd funasr/runtime/python/onnxruntime +git clone https://github.com/alibaba/FunASR.git +cd FunASR/runtime/python/onnxruntime pip install -e ./ # For the users in China, you could install with the command: # pip install -e ./ -i https://mirror.sjtu.edu.cn/pypi/web/simple From 9aab8a1c1561dac686a622a37ebac6f63a31abbc Mon Sep 17 00:00:00 2001 From: YAN XIANGJUN <126038017+Yan-Xiangjun@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:17:44 +0800 Subject: [PATCH 2/2] Change onnx to jieba in the setup.py of funasr_onnx --- runtime/python/onnxruntime/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/python/onnxruntime/setup.py b/runtime/python/onnxruntime/setup.py index 26dce2c4a..8acd2f9f0 100644 --- a/runtime/python/onnxruntime/setup.py +++ b/runtime/python/onnxruntime/setup.py @@ -34,7 +34,7 @@ def get_readme(): "numpy<=1.26.4", "kaldi-native-fbank", "PyYAML>=5.1.2", - "onnx", + "jieba", "sentencepiece", ], packages=[MODULE_NAME, f"{MODULE_NAME}.utils"],