TypeError: ‘NoneType’ object is not subscriptable.
ValueError: At least one stride in the given numpy array is negative, and tensors with negative strides are not currently supported. (You can probably work around this by making a copy of your array with array.copy().)
cuda error:device-side assert triggered:1 2
总结:如果是分类任务,可能是标签个数不对应