context_encoder_pytorch icon indicating copy to clipboard operation
context_encoder_pytorch copied to clipboard

parameter wtlD for Adversarial Discriminator loss is not used

Open micklexqg opened this issue 7 years ago • 5 comments

some parameter is set as follow: parser.add_argument('--wtl2',type=float,default=0.998,help='0 means do not use else use with this weight') parser.add_argument('--wtlD',type=float,default=0.001,help='0 means do not use else use with this weight') but i find wtLD is nerver used, so what is it for?

micklexqg avatar Dec 23 '17 03:12 micklexqg

you can use wtlD instead of (1-wtl2) in this line

BoyuanJiang avatar Dec 23 '17 03:12 BoyuanJiang

@BoyuanJiang , thanks for so quick reply! wtlD is 0.001 or 0.002?

micklexqg avatar Dec 23 '17 03:12 micklexqg

another question, I know the errG_l2 is for reconstruction loss, but what is the err_D and errG_D for respectively?

micklexqg avatar Dec 23 '17 03:12 micklexqg

err_D and errG_D are the loss of GAN, and sorry for first question,according to this paper,wtLD isn't used.

BoyuanJiang avatar Dec 23 '17 03:12 BoyuanJiang

@BoyuanJiang , GAN? there are total two kind loss, reconstruction (or generation) loss and adversarial discriminator loss, but there three notations used. so which one is adversarial discriminator loss, the err_D or errG_D?

micklexqg avatar Dec 23 '17 05:12 micklexqg