Custom DataSet class passed to loader not loading batches

so this is going to vary. The varying sequence length can’t be what’s causing the problem?

This is going to be a problem though. I.e., how do you concatenate vectors or matrices of different dimensions? It’s an impossible task unless you do some padding or trimming.

E.g,. here are some ideas that may be helpful: