Skip to content
Discussion options

You must be logged in to vote

funasr-wss-server-2pass 不是仓库中提交的源码文件,而是 C++ runtime 编译后生成的可执行文件,所以只 git clone 后找不到是正常的。

runtime/run_server_2pass.sh 默认从
/workspace/FunASR/runtime/websocket/build/bin/funasr-wss-server-2pass
启动服务(见脚本中的 cmd_path),这个路径是按官方 runtime Docker 镜像设计的。

推荐:使用官方部署脚本或 Docker 镜像

最省事的是按一键部署文档执行:

curl -O https://raw.githubusercontent.com/alibaba-damo-academy/FunASR/main/runtime/deploy_tools/funasr-runtime-deploy-online-cpu-zh.sh
sudo bash funasr-runtime-deploy-online-cpu-zh.sh install --workspace ./funasr-runtime-resources

或者按Docker 开发指南进入官方镜像后运行:

cd /workspace/FunASR/runtime
bash run_server_2pass.sh --download-model-dir /workspace/models --certfile 0

镜像中已经包含编译好的 funasr-wss-server-2pass

如果要在宿主机从源码编译

先按源码…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LauraGPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants