A simple way to do it using python : Python import numpy as np import imageio ... ndarray. fp:图片路径,可为绝对路径或相对路径。. fromarray torchvision.
確定! 回上一頁