mat1 dim 1 mustmatch mat2 dim0

极大可能是输入网络的图片维度有问题,一般在transform里面设置

猜你喜欢

转载自blog.csdn.net/qq_43663979/article/details/128800530