You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have setuped flashlight and kenlm , also have exported the kenlm_root path before building the flashlight.
I am able to create lexicondecoder option object, kenlm object, lexicondecoder object. But as the values are passed to lexicondecoder.decode it shows segmentation fault core dumped. The error is showed after reading lm.arpa .
Is this error coming from the type of input I am giving to decoder or is it some kenlm issue.
Currently I am passing input array.ctypes.data and T,N = shape of array.
The text was updated successfully, but these errors were encountered:
@knightrogen are you using the Python bindings or the C++ API?
Also, Flashlight Text has moved to https://github.com/flashlight/text — you might consider rebuilding using that codebase as well if you aren't dependent on Flashlight.
@jacobkahn thanks for your response! I do have installed KenLM and set ‘export KENLM_ROOT=$mypath’ during python setup.py install .
Do I need to set something intentionally at runtime?
@kamirdin If this is happening with the fairseq KenLM abstraction, I'd suggest opening an issue there. If you've installed KenLM and the bindings build has properly found them, you're doing everything right on the Flashlight side.
I have setuped flashlight and kenlm , also have exported the kenlm_root path before building the flashlight.
I am able to create lexicondecoder option object, kenlm object, lexicondecoder object. But as the values are passed to lexicondecoder.decode it shows segmentation fault core dumped. The error is showed after reading lm.arpa .
Is this error coming from the type of input I am giving to decoder or is it some kenlm issue.
Currently I am passing input array.ctypes.data and T,N = shape of array.
The text was updated successfully, but these errors were encountered: