pytorch报错:ValueError: Expected more than 1 value per channel when training, got input size torch.Siz
pytorch报错:ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1,256,1,1])通过查阅之后:解决方法1.在torch.utils.data.DataLoader类中或自己创建的继承于DataLoader的类中设置参数drop_last=True,把不
·
所有评论(0)