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

最后查看程序是否启动

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

相关内容

热门资讯

我来向大家传授!德州之星有透视... 我来向大家传授!德州之星有透视挂,wepoke是机器发牌,必备教程(有挂工具)-哔哩哔哩;1、让任何...
第八分钟熟悉!wepoker挂... 第八分钟熟悉!wepoker挂,hhpoker透视挂码(透视)揭秘攻略(有挂秘籍)hhpoker透视...
1.9分钟了解!aa扑克有外挂... 1.9分钟了解!aa扑克有外挂,德州之星辅助器有哪些功能,必赢方法(了解有挂)-哔哩哔哩;人气非常高...
第5分钟精通!wepoker私... 第5分钟精通!wepoker私人定制透视,竞技联盟透视插件(透视)透明挂教程(有人有挂)1)wepo...
玩家必看科普!wpk俱乐部有外... 玩家必看科普!wpk俱乐部有外挂,微扑克ai机器人伙牌,AI教程(有挂头条)-哔哩哔哩;1、很好的微...
第9分钟普及!hhpoker有... 第9分钟普及!hhpoker有透视挂的吗,wpk有透视挂吗(透视)玩家教程(有挂详情)1、进入游戏-...
一起来探讨!wepower有外... 一起来探讨!wepower有外挂,wpk俱乐部有假,攻略教程(有挂秘籍)-哔哩哔哩;1、很好的wpk...
7分钟知晓!wepokerpl... 7分钟知晓!wepokerplus透视挂,德州局透视脚本下载安装最新版本(透视)插件教程(证实有挂)...
黑科技智能ai!wpk透视,w... 【福星临门,好运相随】;黑科技智能ai!wpk透视,wepoke是机器发牌,揭秘教程(有挂细节)-哔...
第5分钟领会!hhpoker德... 第5分钟领会!hhpoker德州牛仔视频,拱趴大菠萝万能辅助器(透视)辅助教程(有挂攻略)1、每一步...