我试图培养一个非常基本的CNN上CIFAR10数据集,并得到以下错误: AttributeError的:“CrossEntropyLoss”对象有没有属性“落后” criterion =nn.CrossEntropyLoss
optimizer=optim.SGD(net.parameters(),lr=0.001,momentum=0.9)
for epoch in range(2): #
对这个问题的启发: Why do different methods for solving Xc=y in python give different solution when they should not? ,似乎有数值的问题,由于浮动点,反转矩阵和限制值[-1,1],我很好奇,现在为什么不深的学习不是来自浮遭受或如果大多数训练数据的平均值为0和标准差1(假设我假定大部分数据已经被预处理到