I need to read several sequence of data from dataloader in each iteration. My data structure should be like this: sequence_length * batch_size * H * W * D. (for example for an RGB image)
In my program, I create this sequence by iterating dataloader in a loop. But, iterating dataloader is computationally expensive. Can anyone help me?