Sorry to bother you after all this time.
I have target['a] which is a list of tensors. when I use
torch.unsqueeze(target['a'], 0)

it gives me this error:

TypeError: unsqueeze(): argument ‘input’ (position 1) must be Tensor, not list

what is the correct way to use torch.unsqueeze?