soumith / ganhacks

starter from "How to Train a GAN?" at NIPS2016
11.43k stars 1.66k forks source link

MAE increasing when training! #74

Open DISAPPEARED13 opened 1 year ago

DISAPPEARED13 commented 1 year ago

Hi, there. I am training a GAN for style transfer, based on UNet, input a Domain-A image and predict a Domain-B image. But I have met a question, after I checked my codes and made sure not any bugs in it. And I found that, the loss is to calculate with the input and the prediction, is L1loss()

But the loss is decreasing while the MAE(mean absolute error) is increasing, which means the prediction is going worse. And PSNR, SSIM is going worse, too. I have no idea, is it mode collapse?

Thanks alot!