赞
踩
TypeError:pic should be PIL Image or ndarray. Got <type 'numpy.ndarray'>
pytorch transforms中的方法每次更改图像只能更改一张,所以放入的图片应该是三维图片(H,W,C).