ValueError: At least one stride in the given numpy array is negative

短命女 2022-09-14 15:24 101阅读 0赞

问题:

  1. 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》训练实操

发表评论

表情:
评论列表 (有 0 条评论,101人围观)

还没有评论,来说两句吧...

相关阅读