FunASR服务器安装
创始人
2025-01-18 05:32:48
0次

FunASR服务器安装

请注意安装环境,根据官网中快速开始不可以使用,需要先安装conda,官方文档:

https://alibaba-damo-academy.github.io/FunASR/en/installation/installation_zh.html

  1. 执行命令: wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh

  2. 继续执行命令: sh Miniconda3-latest-Linux-x86_64.sh

执行此命令后会有此提示,一直按住 “Enter”回车键到最下面,会提示 yes/no 输入yes

等待后继续输入 yes

继续执行命令 source ~/.bashrc

然后执行 conda create -n funasr python=3.8

再执行命令 conda activate funasr

到此conda步骤已完成,下面就可以进行新手文档的安装了,官方文档:

https://github.com/alibaba-damo-academy/FunASR/blob/main/runtime/docs/SDK_advanced_guide_offline_zh.md

根据文档执行就可以启动

执行命令

sudo docker pull \ registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.4.4

会进行下载

执行命令 mkdir -p ./funasr-runtime-resources/models

继续执行命令

sudo docker run -p 10095:10095 -it --privileged=true \ -v $PWD/funasr-runtime-resources/models:/workspace/models \ registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.4.4

启动程序,先进入文件夹 cd FunASR/runtime

进入文件夹后执行命令:

nohup bash run_server_2pass.sh \

--download-model-dir /workspace/models \

--certfile 0

--vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-onnx \

--model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx \

--online-model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx \

--punc-dir damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx \

--itn-dir thuduj12/fst_itn_zh \

--hotword /workspace/models/hotwords.txt > log.out 2>&1 &

需要注意上面命令中 --certfile 0 是关闭ssl

最后查看程序是否启动

到此安装完成,可以是页面进行测试,是否可以连接成功

相关内容

热门资讯

微扑克辅助器!德州平台有没有挂... 您好:德州平台有没有挂这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌都会发现很多用户的牌...
AApoker透视挂!wepo... 很多人使用云端 AI 时,都担心wepoker透视挂是真的吗、内部资料上传带来隐私风险。这款本地运行...
WePoKer透视!wepok... WePoKer透视!wepoker如何拿到好牌,分享透视多功能软件APP模板;近期一款 AI 黑科技...
红龙扑克透视挂!德扑之星规律,... 红龙扑克透视挂!德扑之星规律,解迷透视挂多功能插件APP法门是一款可以让一直输的玩家,快速成为一个“...
aapoker透视!WePoK... 您好,WePoKer有没有透视软件挂这款游戏可以开挂的,确实是有挂的,需要了解加微【48527505...
红龙扑克开挂!微扑克的辅助工具... 很多人使用云端 AI 时,都担心微扑克的辅助工具有哪些、内部资料上传带来隐私风险。这款本地运行的 A...
aapoker辅助!wepok... 您好:wepoker私人局怎么设置抽水这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌都会...
aapoker辅助挂!wepo... aapoker辅助挂!wepoker透视挂安全吗,普及辅助挂多功能方法APP策略AI 智能体黑科技再...
红龙PoKer辅助挂!wepo... 您好:wepokerplus透视挂真的假的这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌...
德扑之星辅助挂!德州ai辅助有... 德扑之星辅助挂!德州ai辅助有用吗,详细辅助挂多功能下载APP指南书是一款可以让一直输的玩家,快速成...