返回模型
说明文档
FsmnVad 模型介绍
使用方法
下载模型
git clone https://github.com/manyeyes/AliFsmnVad.git
cd /AliFsmnVad/AliFsmnVad.Examples
git clone https://huggingface.co/manyeyes/speech_fsmn_vad_zh-cn-16k-common-onnx.git
编辑 Program.cs 中的 modelName 值:
string modelName=\"speech_fsmn_vad_zh-cn-16k-common-onnx\";
//[fp32模型/int8模型],二选一
//fp32模型
//string modelFilePath = applicationBase + \"./\"+ modelName + \"/model.onnx\";
//int8模型
string modelFilePath = applicationBase + \"./\"+ modelName + \"/model_quant.onnx\";
将文件夹 speech_fsmn_vad_zh-cn-16k-common-onnx 中的文件属性-》复制到输出目录-》如果较新则复制。 或者 编辑 AliFsmnVad.Examples.csproj ,添加
<ItemGroup>
<None Update=\"speech_fsmn_vad_zh-cn-16k-common-onnx\example\0.wav\">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update=\"speech_fsmn_vad_zh-cn-16k-common-onnx\model.onnx\">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update=\"speech_fsmn_vad_zh-cn-16k-common-onnx\model_quant.onnx\">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update=\"speech_fsmn_vad_zh-cn-16k-common-onnx\vad.mvn\">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update=\"speech_fsmn_vad_zh-cn-16k-common-onnx\vad.yaml\">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
启动 AliFsmnVad.Examples
通过modelscope了解更多
原模型
- pytorch https://www.modelscope.cn/models/damo/speech_fsmn_vad_zh-cn-16k-common-pytorch/summary
manyeyes/speech_fsmn_vad_zh-cn-16k-common-onnx
作者 manyeyes
↓ 0
♥ 2
创建时间: 2023-07-31 09:01:52+00:00
更新时间: 2023-08-02 08:09:01+00:00
在 Hugging Face 上查看文件 (9)
.gitattributes
README.md
configuration.json
example/0.wav
fig/struct.png
model.onnx
ONNX
model_quant.onnx
ONNX
vad.mvn
vad.yaml