When I run these generators (for LSTM) with a batchsize above 1 I get the following error:
InvalidArgumentError: Incompatible shapes: [8,30,10] vs. [8,10] [