解决AttributeError: object has no attribute ‘log_softmax’ 错误例子:net = FCN(data) 直接在构建网络时,给与输入 改为:net = FCN() out = net(data)