wenet-e2e / wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit
https://wenet-e2e.github.io/wenet/
Apache License 2.0
3.87k stars 1.04k forks source link

paraformer模型推理报错 #2465

Closed wanghanyang123 closed 2 weeks ago

wanghanyang123 commented 2 months ago

Describe the bug

执行 python transcribe.py -l chinese ../../../faster-whisper/1.wav --paraformer 结果正常

但执行 python transcribe.py -l chinese ../../../faster-whisper/1.wav --paraformer -t 结果报错

具体过程如图,增加 -t 导致报错了 image

Mddct commented 2 months ago

这个音频发便给一下吗 这边debug下

wanghanyang123 commented 2 months ago

@Mddct 1.zip

wanghanyang123 commented 2 months ago

同时部署发现如果使用paraformer的模型,热词 “--context_path” 也无效;如果使用默认的模型,时间戳和热词使用都是正常的。

Mddct commented 2 months ago

热词还没有支持paraformer, 热词是支持ctc测的