it’s surprising that it’s giving this error.
Maybe one of the returned tensors is not [x, 1000], but something else?
This is the function that takes the Tensors from each dataset sample and combines them: https://github.com/pytorch/pytorch/blob/master/torch/utils/data/dataloader.py#L92 103