It’s an argument of DataLoader. (torch.utils.data — PyTorch 1.8.1 documentation 1)



 krishna511:

IndexError:: slice() cannot be applied to a 0-dim tensor.


Can you please copy the whole traceback of this Error?