-
Notifications
You must be signed in to change notification settings - Fork 213
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
runtime error #1129
Comments
@wwfcnu |
/usr/local/python3.7.10/lib/python3.7/site-packages/torchaudio/_internal/module_utils.py:99: UserWarning: Failed to import soundfile. 'soundfile' backend [ Stack-Trace: ]
Compile decoding graph HLG.pt succeeded |
How large is your G? (e.g., its file size). Also, are you using the latest k2?
shall give you the version information. |
k2 version: 1.21 |
Could you try the following pull request? It uses OpenFst to build |
Also, your k2 is somewhat outdated. please update it to the latest one. |
okay, I'll give it a try |
Also, your G is so large that I am afraid the resulting HLG won't fit into the GPU memory. |
|
Yes, I think so. You may use |
egs/librispeech/ASR/local/compile_hlg_using_openfst.py路径下没找到这个文件啊 |
I just merged k2-fsa/icefall#606 Please check again. You should find it. |
|
Traceback (most recent call last):
File "tools/k2/icefall/egs/aishell/ASR/local/compile_hlg.py", line 166, in
main()
File "tools/k2/icefall/egs/aishell/ASR/local/compile_hlg.py", line 156, in main
HLG = compile_HLG(lang_dir, args.lm)
File "tools/k2/icefall/egs/aishell/ASR/local/compile_hlg.py", line 94, in compile_HLG
LG = k2.compose(L, G)
File "/usr/local/python3.7.10/lib/python3.7/site-packages/k2/fsa_algo.py", line 488, in compose
treat_epsilons_specially=treat_epsilons_specially)
File "/usr/local/python3.7.10/lib/python3.7/site-packages/k2/fsa_algo.py", line 405, in intersect
treat_epsilons_specially, need_arc_map)
RuntimeError:
Some bad things happened. Please read the above error messages and stack
trace. If you are using Python, the following command may be helpful:
Compile decoding graph HLG.pt succeeded
The text was updated successfully, but these errors were encountered: