make_source对应test:test_img,test_label_ori,test_head_ori,pose_source.npy
make_target对应train:train_img,train_label,head_img,pose.npy
normalization:
source_img = cv2.imread(‘./data/source/test_label_ori/00001.png’)[:,:,0]
source_img_rgb = cv2.imread(‘./data/source/test_img/00001.png’)
target_img = cv2.imread(‘./data/target/train/train_label/00001.png’)[:,:,0]
target_img_rgb = cv2.imread(‘./data/target/train/train_img/00001.png’)
save_dir = Path(‘./data/source/’)
loss:
label, inst, (real)image, feat
loss_G_GAN:
loss_G_GAN_Feat:
loss_G_VGG:
loss_D_real:
loss_D_fake: