logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

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,把不

#ubuntu#linux#virtualenv
到底了