I’m not sure you understood what I meant. You use the dataloader like this…
train_loader = data_utils.DataLoader(train,batch_size=100,drop_last=True)
for batch_idx,train in enumerate(train_loader):
    do training stuff

What shape is train?