CycleGAN icon indicating copy to clipboard operation
CycleGAN copied to clipboard

Discriminator looses (?)

Open SavvaI opened this issue 6 years ago • 3 comments

I am trying to apply cyclegan to my data, and at the beginning (1-2 epoch) it kinda makes needed transformation (with added noise), but then it just copies the image 2 times. Losses for G and D are near, so it seems that Generator is fooling discriminator with adversarial examples. I haven't find any solution, maybe someone have faced this problem? I have seen quite complex transformations with cyclegan, like face2food and face2doll

SavvaI avatar Jul 24 '17 19:07 SavvaI

For the complex transformation, I would recommend a small lambda_cycle (e.g. 1 or 2). Could you show some your results as well as loss plots? How big are your G and D losses?

junyanz avatar Aug 05 '17 03:08 junyanz

@junyanz how much the lambda_cycle you use for horse2zebra?

meeio avatar Mar 23 '18 06:03 meeio

Hey @junyanz, this is Rohit. First, thanks for your code. It's really helpful.

I trained your model on around 1.5 k images at A and B sides. I am observing loss as attached image. gan200

Do I expect Discriminators' errors to go to 0.5 ideally? If yes, should I train for more epochs or try changing lambda_cycle? Please suggest, how can I improve..

rohitsaluja22 avatar Mar 24 '18 10:03 rohitsaluja22