CycleGAN-TensorFlow icon indicating copy to clipboard operation
CycleGAN-TensorFlow copied to clipboard

CycleGAN convergence

Open wjx2 opened this issue 6 years ago • 2 comments

Hi . Thanks for the wonderful explanation. I am new in GAN. And I have a question. When I train cycleGAN, I found that the discriminator loss decreases and converges, but the generator loss always change not much. So, How to judge whether cycleGAN converges?

wjx2 avatar Jul 24 '18 06:07 wjx2

GAN convergence is a very difficult problem in practice. At the moment, just look at TensorBoard and stop training whenever you "feel" it enough. For this task, maybe 150k steps is enough. There are many articles online that explain briefly about GAN, e.g. https://medium.com/@jonathan_hui/gan-why-it-is-so-hard-to-train-generative-advisory-networks-819a86b3750b If you have time, take a look at GAN tutorial from Goodfellow (the author of GAN) to understand deeper: https://sites.google.com/view/cvpr2018tutorialongans/

vanhuyz avatar Nov 15 '18 08:11 vanhuyz

Hi, thank you for your replay! Looking at the TensorBoard is an effective way to judge the convergence, and I found that saving images every few times to observe the generated images' quality is also a good way.

wjx2 avatar Nov 17 '18 02:11 wjx2