本文主要是介绍ValueError: At least one stride in the given numpy array is negative,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题:
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().)
解决方法:
改为:
参考资料:
(二十五:2020.12.15)CVPR 2020 学习(三)《U^2 Net》训练实操
这篇关于ValueError: At least one stride in the given numpy array is negative的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!