I created an issue (#3707) where I detailed a bug with the librispeech_conformer_rnnt ASR example. After some digging I found the reason for that error: the variable batch looses the type Batch (named tuple) when a function is called.
I don't think this addresses the root cause of the problem but I hope it is a usefull PR to, at least, make the example run.
Thank you for all your work.
Hi
I created an issue (#3707) where I detailed a bug with the librispeech_conformer_rnnt ASR example. After some digging I found the reason for that error: the variable batch looses the type Batch (named tuple) when a function is called.
On the file lightning.py we have:
A simple recast of the tuple solves this. I changed it to:
I don't think this addresses the root cause of the problem but I hope it is a usefull PR to, at least, make the example run. Thank you for all your work.
(edit: put code inseid a code block)