1111

            real_input_mean_gray = real_input_img.float().mean()
            syn_lable_mean_gray = label_img.float().mean()
            real_img_adjust = torch.clamp((real_input_img * (syn_lable_mean_gray / real_input_mean_gray)), 0, 1)

 

posted @ 2024-06-19 16:07  helloWorldhelloWorld  阅读(2)  评论(0编辑  收藏  举报