senguptaumd / Background-Matting

Background Matting: The World is Your Green Screen
https://grail.cs.washington.edu/projects/background-matting/
4.78k stars 662 forks source link

Scheduling the GAN training #61

Open Neerajj9 opened 4 years ago

Neerajj9 commented 4 years ago

Any specific reason for training the Generator more than the Discriminator ? The code states that the Discriminator is trained after every 5 epochs. Why is it so ?

senguptaumd commented 4 years ago

You could change the learning rate of the discriminator and make it 5 or 10 times slower than the generator to make the training stable (This is kinda similar to updating Disc every 5 iteration). You could also linearly decreasing the lr of both Gen and Disc to make it more converge smoothly.