摘要:
import os import cv2 imgdir = "./test_img/" maskdir = "./train_mask/" HH=os.listdir(imgdir) for i in range(len(HH)): img_dir=HH[i] img = cv2.imread(". 阅读全文
posted @ 2020-10-13 11:19
皮卡皮卡妞
阅读(3393)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-10-13 10:11
皮卡皮卡妞
阅读(228)
评论(0)
推荐(0)
摘要:
def tensor2im(image_tensor, imtype=np.uint8, normalize=True): image_numpy = image_tensor.cpu().float().detach().numpy() if normalize: image_numpy = (i 阅读全文
posted @ 2020-10-13 10:02
皮卡皮卡妞
阅读(596)
评论(0)
推荐(0)

浙公网安备 33010602011771号