-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用sherpa-onnx遇到一个奇怪的问题 #760
Comments
@pkufool @csukuangfj 可以麻烦您们帮我解答一下疑问吗 |
我下载的model是这种格式的文件,请问有问题吗,我是windows系统 |
请直接贴文字代码 |
#!/usr/bin/env python3 """ Please refer to import numpy as np sound_files = "C:/Users/X/Desktop/sherpa-onnx-master/python-api-examples/action_done.wav" def get_args():
def assert_file_exists(filename: str): def read_wave(wave_filename: str) -> Tuple[np.ndarray, int]:
def main():
if name == "main": |
这个文件,包含什么?请把这个文件发过来。 |
你是不是应该要传 keywords.txt 而不是 keywords_raw.txt ? |
结果都一样的错误 |
不应该,请贴使用 keywords.txt 的 error log |
请问是模型没下载对吗 |
你看,现在是文件名不对。不是刚次那个错误了。这种低级错误,你自己解决? |
好滴,非常谢谢您 |
解决了没有呢? |
实在不好意思哈,已经解决了,非常感谢您的帮助。 |
我的代码里面是将 你好军哥 转化成 n ǐ h ǎo j ūn g ē @你好军哥,但是应该在keyword_spotter = sherpa_onnx.KeywordSpotter这行代码的时候出现了错误,导致不能运行,请问这是哪里出来问题,非常期待您的回复!!!我的代码如下:
The text was updated successfully, but these errors were encountered: