接收好中文语音的wav文件读取转化为文本输出
这里我给出官网和github的地址,各位可以自行尝试: SpeechBrain: A PyTorch Speech Toolkit GitHub - speechbrain/speechbrain: A PyTorch-based Speech Toolkit
这里我选择的是普通话,下载好预训练模型后,网站里也有教程,各位可以自行尝试训练使用。 这里我直接给出实现的码源和模型,配置好环境后可以直接使用。 https://download.csdn.net/download/weixin_51331359/76124877
测试结果:
- The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows.
- The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows.
- start...
- 有奶会有的面包括有的一切都会有的调解里数和语音可以达到更好的效果
-
- 进程已结束,退出代码为 0
复制代码
|