pytorch错误及解决方案 - 知乎
https://zhuanlan.zhihu.com/p/365082327RuntimeError: Expected object of scalar type Long but got scalar type Float for argument #2 ... Expected more than 1 value per channel when training, got input size torch.Size([1,512,1,1]) 'NoneType' object has no attribute ... I have the same issue. RTX2080, for CUDA 10.0 and pytorch 1.0.0. Anyone has solved the same problem ...