1. shape函数,需要先将image形式转换成array数组 img = numpy. ... import glob from skimage. squeeze (0) image = unloader (image) return image Tensor与Numpy.
確定! 回上一頁