-
Notifications
You must be signed in to change notification settings - Fork 537
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
Decoding with Hotwords giving segmentation fault #1388
Comments
What is model_dir? |
Also, are you able to reproduce the hotwords example in the documentation? |
Also, please tell us how to reproduce your issue. (You need to provide more details) |
model_dir is the directory which contain checkpints of trained model. |
If you want to debug it with your own model, please try to use C++ binaries. You can use |
I think this could related to my last merged PR (preserving context between endpointing). If it is, I will try to create fix as soon as possible. |
Thanks! |
29166 Segmentation fault python python-api-examples/online-decode-files.py --encoder $model_dir/encoder-epoch-19-avg-1.onnx --decoder $model_dir/decoder-epoch-19-avg-1.onnx --joiner $model_dir/joiner-epoch-19-avg-1.onnx --tokens$model_dir/tokens.txt --num-threads=1 --decoding-method=modified_beam_search --hotwords-file=local/hotwords.txt --modeling-unit bpe $ {wav}"003".wav ${wav}"004".wav ${wav}"005".wav ${wav}"006".wav ${wav}"007".wav ${wav}"008".wav ${wav}"009".wav ${wav}"010".wav
My hotword file looks like:
VMO :2.0
quarantine :2.0
remdesivir :2.0
oseltamivir :2.0
isolation :2.0
n ninety five :2.0
NRBM :2.0
Regards,
Chirag Patel
The text was updated successfully, but these errors were encountered: