其他分享
首页 > 其他分享> > RuntimeError:stack expects each tensor to be equal size,but got [3,224,244] at entry 0 and [1,224,24

RuntimeError:stack expects each tensor to be equal size,but got [3,224,244] at entry 0 and [1,224,24

作者:互联网

 

 

 报错原因:没有转换图片格式,不同的图片格式的颜色空间不同

参考:

https://blog.csdn.net/missyougoon/article/details/85331493

标签:图片格式,244,报错,entry,224,RuntimeError
来源: https://www.cnblogs.com/zhaolimin/p/15110451.html