摘要:
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(". 阅读全文
该文被密码保护。 阅读全文
摘要:
def tensor2im(image_tensor, imtype=np.uint8, normalize=True): image_numpy = image_tensor.cpu().float().detach().numpy() if normalize: image_numpy = (i 阅读全文