Fix path mistake in FunASR/runtime/python /onnxruntime/README.md and fix python dependence mistake of funasr_onnx #2710
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
“FunASR/funasr/runtime/python/onnxruntime”是一个不存在的路径,在执行“cd FunASR”之后,如果用户再执行“cd funasr/runtime/python/onnxruntime”会出现错误。
虽然funasr_onnx用到了onnxruntime,但实际上它并未用到onnx库。(仅安装funasr_onnx,不安装完整的funasr Python包,是不需要import onnx的)但onnx出现在了install_requires中。
jieba库未出现在install_requires中,但 FunASR/runtime/python/onnxruntime/funasr_onnx/utils/utils.py 使用到它了。
"FunASR/funasr/runtime/python/onnxruntime" is an invalid path. After executing "cd FunASR", if the user executes "cd funasr/runtime/python/onnxruntime", an error will occur.
Although funasr_onnx uses onnxruntime, it does not actually use onnx. (If only funasr_onnx is installed, without installing the whole funasr Python package, there is no need to import onnx) However, onnx appears in the install_requires list.
The jieba package is not included in the install_requires list, but it is used in the file FunASR/runtime/python/onnxruntime/funasr_onnx/utils/utils.py.