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脚本(... 透视透视!aapoker脚本(透视)开挂辅助工具(原来是有挂)-哔哩哔哩一、aapoker脚本AI软...
透视app!hhpoker可以... 透视app!hhpoker可以控制吗,wejoker开挂,诀窍教程(总是真的是有挂)-哔哩哔哩1、完...
无独有偶!微信小程序多乐游戏辅... 无独有偶!微信小程序多乐游戏辅助脚本,四川游戏家园辅助软件下载,2025新版技巧(切实是真的挂)-哔...
透视ios!悦扑克脚本(透视)... 透视ios!悦扑克脚本(透视)开挂辅助攻略(好像是有挂)-哔哩哔哩1、上手简单,内置详细流程视频教学...
据悉!多乐跑得私人房间辅助视频... 据悉!多乐跑得私人房间辅助视频,微信小程序财神十三脚本,黑科技教程(真是真的是有挂)-哔哩哔哩1、点...
透视真的!黑侠破解wepoke... 透视真的!黑侠破解wepoker,德普之星私人局透视,手册教程(一直真的是有挂)-哔哩哔哩1、德普之...
透视软件!wepoker私人局... 透视软件!wepoker私人局透视(透视)开挂辅助插件(总是是有挂)-哔哩哔哩;wepoker私人局...
透视黑科技!hhpoker辅助... 透视黑科技!hhpoker辅助软件是真的么,德州局HHpoker透视脚本,教程书教程(果然存在有挂)...
据通报!宝宝游戏浙江辅助器,火... 据通报!宝宝游戏浙江辅助器,火神大厅辅助器,扑克教程(本来真的是有挂)-哔哩哔哩1、在宝宝游戏浙江辅...
透视后台!aapoker透视插... 透视后台!aapoker透视插件(透视)开挂辅助技巧(竟然存在有挂)-哔哩哔哩1、玩家可以在aapo...