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 think the issue here is that the input is malformed. The label_lengths is [3] so U should be at least 3, hence the third dimension should be U+1=4 sized (So you could either adjust the label_length or adjust the 4-d acts tensor).
The validation of the input tensors is quite incomplete here which can cause Undefined Behavior and memory corruption as you could reproduce with your code. In my case it segfaults because of invalid writes (classic buffer overflow) which causes a corruption in the internal heap management structures.
I am using https://github.com/HawkAaron/warp-transducer indirectly via https://github.com/noahchalifour/rnnt-speech-recognition and I have noticed something odd when running the
rnnt_loss()
function in eager mode on the same input over and over again.Basically: Running
rnnt_loss(*args)
repeatedly whereargs
is always the same input results in an increasing loss.Output:
Is this expected behavior or am I doing something wrong here?
See also noahchalifour/rnnt-speech-recognition#36
The text was updated successfully, but these errors were encountered: