# FsmnVad 模型介绍 ### 使用方法 下载模型 ```shell 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 值: ```csharp 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 ,添加 ```xml PreserveNewest PreserveNewest PreserveNewest PreserveNewest PreserveNewest ``` 启动 AliFsmnVad.Examples ## 通过modelscope了解更多 ### 原模型 - pytorch https://www.modelscope.cn/models/damo/speech_fsmn_vad_zh-cn-16k-common-pytorch/summary