-
Notifications
You must be signed in to change notification settings - Fork 217
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
Missing complete Segment output #1216
Comments
Is a segment an utterance? How long is your segment? Are you able to compare the |
I think you can first try using a larger |
Thank you for replying. The segment is an utterance, its happening with different types of durations...the nnet outputs are same in both the case...this is problem is happening intermittently, beam size 20 and max-active-states is 7000 , yes my issue is similar to 292 but i am using release post that issue. I am using 1.22 dev2022nov19 release. |
For your reference the issue is happening at k2.intersect_dense_pruned. Here i am attaching the lattice (generated by using torch.save(lattice.as_dict(), 'lattice.pt') ). Thanks |
Hi...any suggestion on how to solve this ? |
You can see that there is no final state in the graph (be pruned ?), so the lattice will be empty after connectting. I think #1087 can solve this, can you try cherring pick the changes and see if it fix your problem. |
Could you post the output of
? If you are using an old version of k2, please consider updating it. |
Hi for illegal memory output _collecting environment information... k2 version: 1.23.4 |
With the latest version I ran into some problems...so I tried to install this 1.23.4 which just previous to that. with this and changes in the #1087 am getting this problem. Earlier also i was using 1.23.4 only just with the changes #1087 i am getting this " Check failed: e == cudaSuccess (700 vs. 0) Error: an illegal memory access was encountered " this error |
@kbramhendra OK, I will try to merge #1087 as soon as possible. |
Thank you for the help. It would be great if you could do that. |
For you reference this is the script i have post integration of #1087. Thank you |
@kbramhendra Can you try #1218 , I made some fixes to #1087 , see if it can solve your problem. It still has some problems for chunk by chunk decoding, so I can't merge it now, sorry! |
Thanks a lot of your effort and time. I really appreciate it. I have tested it on few samples its seems to be working. I will get back to if i have face any problem. But its great help. Thank you. @pkufool |
hi,
While I am decoding with HLG, There is some random ness to the outputs, sometimes completes segment in the batch is missing and returning empty output, but when I am decoding alone the segment its coming out properly, can you please help to decode the error ?
The text was updated successfully, but these errors were encountered: