错误 At least one stride in the given numpy array is negative, and tensors with negative strides are not currently supported. 解决方案
在训练 Pytorch 网络时遇到错误 At least one stride in the given numpy array is negative, and tensors with negative strides are not currently supported., 本文记录原因与解决方案。