Solved by mmcauliffe in post #16 
              
              
                Just a note that I’ve managed to solve the issue I was having.  Using https://github.com/Holmeyoung/crnn-pytorch as a working version compared to mine, the issue was that when I was porting over the dataset from the Keras implementation, text was in the shape of (N_batches, max_sequence_length).  An…