PyTorch Forums
ValueError: Expected tensor to be a tensor image of size (C, H, W). Got tensor.size() = torch.Size([8, 8])
vision
fadetoblack
(Vikas D)
October 16, 2020, 2:33am
2
Can you try adding
landmarks.unsqueeze_(0)
before the line:
1 Like
show post in topic