Closed zmolikova closed 4 months ago
I believe that in the error message below, the variables T and L are switched (not in the condition of the check itself, but in the message).
T
L
https://github.com/pytorch/audio/blob/5286f9f60d8647fb4a490cdf22eac39a54e63a80/src/libtorchaudio/forced_align/gpu/compute.cu#L161-L168
According to earlier lines in the code T is the log_probs length and L is the targets size. https://github.com/pytorch/audio/blob/5286f9f60d8647fb4a490cdf22eac39a54e63a80/src/libtorchaudio/forced_align/gpu/compute.cu#L122-L124
Thanks @zmolikova for pointing it out. I will make a fix.
I believe that in the error message below, the variables
T
andL
are switched (not in the condition of the check itself, but in the message).https://github.com/pytorch/audio/blob/5286f9f60d8647fb4a490cdf22eac39a54e63a80/src/libtorchaudio/forced_align/gpu/compute.cu#L161-L168
According to earlier lines in the code
T
is the log_probs length andL
is the targets size. https://github.com/pytorch/audio/blob/5286f9f60d8647fb4a490cdf22eac39a54e63a80/src/libtorchaudio/forced_align/gpu/compute.cu#L122-L124