trans_toPIL = transforms.ToPILImage() # 將"pytoch tensor" 或是"numpy.ndarray" 轉換成PIL Image. img_np = np.asarray(img_pil) # 將PIL image轉換成" ...
確定! 回上一頁