Size of target tensor is [1, 1, 8] and size of output tensor of the net, which is also an input tensor of MSELoss() is [1, 8]
Since this may cause a critical error in the loss calculation process, resetting target tensor's size from [1, 1, 8] to [1, 8] is needed!
Size of target tensor is [1, 1, 8] and size of output tensor of the net, which is also an input tensor of MSELoss() is [1, 8] Since this may cause a critical error in the loss calculation process, resetting target tensor's size from [1, 1, 8] to [1, 8] is needed!
ASAP