encoder_dims does not exist in the metadata
kislay99 opened this issue · comments
I'm using this model: sherpa-onnx-zipformer-large-en-2023-06-26.tar.bz2
when building and testing on iPhone I see the following error:
/Users/kislaysingh/offile_tts/sherpa-onnx/sherpa-onnx/csrc/online-zipformer-transducer-model.cc:InitEncoder:98 encoder_dims does not exist in the metadata
I tried making model type both zipformer and zipformer2 getting the same error. Although I'm able to run the following successfully on the iPhone: sherpa-onnx-zipformer-en-2023-04-01
Basically this hugging face playground model does exactly what I'm looking for, I'm guessing it's the large one.
Do I need to use some other configs?
An offline/non-streaming model cannot be used with an OnlineRecognizer.
The error log is expected.
Your usage is not correct.