Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this line train the discriminator? #14

Open
wjmolina opened this issue Mar 20, 2020 · 1 comment
Open

Does this line train the discriminator? #14

wjmolina opened this issue Mar 20, 2020 · 1 comment

Comments

@wjmolina
Copy link

g_optimizer.step() # Only optimizes G's parameters

Nothing is being detached, so does this train the discriminator?

@TianshangLiu
Copy link

TianshangLiu commented Jun 4, 2020

just train generator. you can compare D's parameters before and after g_optimizer.step() , you'll find D's parameters not change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants