generative-models icon indicating copy to clipboard operation
generative-models copied to clipboard

Why run forward twice for G net

Open leinxx opened this issue 7 years ago • 1 comments

I am reading your least-square GAN code. The G net run twice for training G and D. Why cannot only run G.forward once as the input to G for the two runs are the same?

leinxx avatar Apr 05 '18 21:04 leinxx

So that we run full ancestral sampling on both cases => independent samples of x. Haven't thought whether this have profound impact or not though. Feel free to experiment.

wiseodd avatar Apr 07 '18 09:04 wiseodd