chenkui164 / FastASR

这是一个用C++实现ASR推理的项目,它依赖很少,安装也很简单,推理速度很快,在树莓派4B等ARM平台也可以流畅的运行。 支持的模型是由Google的Transformer模型中优化而来,数据集是开源wenetspeech(10000+小时)或阿里私有数据集(60000+小时), 所以识别效果也很好,可以媲美许多商用的ASR软件。
Apache License 2.0
482 stars 74 forks source link

windows下编译出错, #32

Closed xbsdsongnan closed 1 year ago

xbsdsongnan commented 1 year ago

由于找不到libfftw3f-3.dll,无法继续执行代码。重新安装程序可能会解决此问题,如何解决

chenkui164 commented 1 year ago

是编译正常,执行的时候出错是吧,参考#29。 这两个文件在FastASR/win/bin/x64文件夹下,也可以下载编译好的软件包。https://github.com/chenkui164/FastASR/releases/download/v0.04/FastASR.rar

xbsdsongnan commented 1 year ago

不是,就是编译的时候出错了

xbsdsongnan commented 1 year ago

线程 0x7cb8 已退出,返回值为 3221225781 (0xc0000135)。 线程 0x9fd4 已退出,返回值为 3221225781 (0xc0000135)。 程序“[66476] k2_rnnt2_cli.exe”已退出,返回值为 3221225781 (0xc0000135) '未找到依赖 dll'。

chenkui164 commented 1 year ago

你这个是直接在VS里运行的吧,看log已经是编译正确了。用cmd或者powershell直接运行,工作目录在FastASR/out/build/x64-Release/examples下,参考教程中的命令行执行

xbsdsongnan commented 1 year ago

遇到音频问题会出现弹窗提示exe异常错误,但是没有具体错误提示,如何解决呢

chenkui164 commented 1 year ago

音频是16k单声道的wav文件。代码里面没有做检测,所以调用前需要人工保证音频正确

xbsdsongnan commented 1 year ago

Audio time is 2.377063 s. len is 38033 Model initialization takes 0.138000s. frame end > max_len!!!!!!! Result: " 输入一个音频,出现这个,耳朵可以听,但是没结果

chenkui164 commented 1 year ago

把音频传到百度网盘上,我看看