train.py ValueError: Using a target size (torch.Size([32, 1])) that is different to the input size (torch.Size([32, 7])) is deprecated. Please ensure they have the same size. #66
Hi, when I run Actionsrecognition/train.py, I have a problem at code:
loss = losser(out, lbs)
The ValueError is followed:
Using a target size (torch.Size([32, 1])) that is different to the input size (torch.Size([32, 7])) is deprecated. Please ensure they have the same size.
Anyone can tell me the cause and the solution to fix it ?
Hi, when I run Actionsrecognition/train.py, I have a problem at code:
loss = losser(out, lbs)
The ValueError is followed: Using a target size (torch.Size([32, 1])) that is different to the input size (torch.Size([32, 7])) is deprecated. Please ensure they have the same size.Anyone can tell me the cause and the solution to fix it ?