```
for j in range(sequence['input'].size(2) - 1):
inputs = sequence['input'][:, :, j:j+2, :, :].cuda(args.gpu, non_blocking=True)
t = sequence['target'][:, :, j+1, :, :].cuda(args.gpu, non_blocking=True)
```

I am trying to iterate over a Tensor but I get the following error:

```
RuntimeError: invalid argument 3: Source tensor must be contiguous at ../src/THC/generic/THCTensorCopy.c:114
```

Do you know which is the problem?