this error is either if you recalled the buffer size and shuffling correctly or not. if you have, then the next error tells
you have converted line to tensor incorrectly. For this you need to refer section
1.3 Convert Line to tensor
Check the below comment
Regards
DP