Stanley121236
Stanley121236
更換sherpa-onnx-paraformer-trilingual-zh-cantonese-en這個模型更換後同樣出錯,按照上述的方也無法解決,,請問是什麼問題?可以幫忙排錯嗎,感謝。模型:https://huggingface.co/csukuangfj/sherpa-onnx-paraformer-trilingual-zh-cantonese-en
> > 更換sherpa-onnx-paraformer-trilingual-zh-cantonese-en這個模型更換後同樣出錯,按照上述的方也無法解決,,請問是什麼問題?可以幫忙排錯嗎,感謝。模型:https://huggingface.co/csukuangfj/sherpa-onnx-paraformer-trilingual-zh-cantonese-en > > 如果可以把具体的报错信息post过来就可以更方便的定位了😉 在recognizer.decode_stream(s)時沒有任何回應。 代碼如下: ----------------------------------------------- stream = recognizer.create_stream() stream.accept_waveform(args.sample_rate, samples) print('decode_start') recognizer.decode_stream(stream) print('decode_done') print(stream) print(stream.result.text) ----------------------------------- 只能顯示print('decode_start')
> 这是我自己构建的[版本](https://huggingface.co/yiyu-earth/sherpa-onnx-paraformer-zh-2024-04-25/),在Windows环境运行无问题。只需要把models里的`paraformer-offline-zh`文件夹下的内容替换成新的即可。 P.S. 强烈建议对原本的模型进行备份 可以為這個模型構建一個新版本嗎?https://huggingface.co/csukuangfj/sherpa-onnx-paraformer-trilingual-zh-cantonese-en