wasidennis / AdaptSegNet

Learning to Adapt Structured Output Space for Semantic Segmentation, CVPR 2018 (spotlight)
845 stars 205 forks source link

About the numeric scale of the dicriminator loss #106

Open Muming-Zhao opened 2 years ago

Muming-Zhao commented 2 years ago

Dear author,

I was using this code for my project and I found the discriminator loss is further divided by 2. I am not very clear with GAN and could you please help explain why to divide 2? https://github.com/wasidennis/AdaptSegNet/blob/fca9ff0f09dab45d44bf6d26091377ac66607028/train_gta2cityscapes_multi.py#L362

Thanks a lot!