docs.rs failed to build vad-burn-0.1.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
vad-burn-0.1.3
vad-burn
vad-burn 是基于 Rust 和 Burn 的 VAD 推理库,提供 Rust API、Python 绑定、
离线检测和流式检测。默认使用 Burn Flex CPU 后端,FSMN VAD 也支持 Apple Metal
后端。
完整文档:
安装
Rust
use ;
let model = from_modelscope?;
let waveform = new;
let segments = model.detect?;
let mut audio = from_path?;
model.annotate?;
Python
=
=
=
samples 必须是 16 kHz 单声道、归一化到 [-1.0, 1.0] 的浮点 PCM。
Benchmark
更多 Flex、Metal 和 FireRedVAD benchmark 结果见 Benchmark 文档。
开发验证