pytorch

 TypeError:pic should be PIL Image or ndarray. Got <type 'numpy.ndarray'>

pytorch transforms中的方法每次更改图像只能更改一张,所以放入的图片应该是三维图片(H,W,C).

猜你喜欢

转载自blog.csdn.net/a362682954/article/details/81223645