hi, @frankyoujian , I have successfully ran the sherpa-onnx version, but
I got a batch of sentences want to be decode, I may need to use <onnx_decode_sentence.py> file to be more efficient.
when I try to run <onnx_decode_sentence.py> ,
- firstly, I change "
from model import Model" to "from model import Model_new as Model". to run the code.
- secondly, as it goes to
sp.load(args.bpe_model) got error
RuntimeError: Internal: could not parse ModelProto from ./sherpa-onnx/download/sherpa-onnx-online-punct-en-2024-08-06/bpe.vocab
am I missing a "bpe file" that can be read by sp? or the code need to be updated?
I'm not an expert of ONNX, Thanks for the help.
hi, @frankyoujian , I have successfully ran the sherpa-onnx version, but
I got a batch of sentences want to be decode, I may need to use <onnx_decode_sentence.py> file to be more efficient.
when I try to run <onnx_decode_sentence.py> ,
from model import Model" to "from model import Model_new as Model". to run the code.sp.load(args.bpe_model)got errorRuntimeError: Internal: could not parse ModelProto from ./sherpa-onnx/download/sherpa-onnx-online-punct-en-2024-08-06/bpe.vocabam I missing a "bpe file" that can be read by sp? or the code need to be updated?
I'm not an expert of ONNX, Thanks for the help.