UserWarning: Using a target size (torch.Size([64])) that is different to the input size (torch.Size(
Pytorch Warning问题UserWarning: Using a target size (torch.Size([64])) that is different to the input size (torch.Size([64,1]))解决在forward(self, x)函数体中,在return x之前,加一句x = x.squeeze(-1)以达到降低一维的目的~...