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

About setting grad to false in train iteration. #7

Open
Michi-123 opened this issue Jul 7, 2020 · 0 comments
Open

About setting grad to false in train iteration. #7

Michi-123 opened this issue Jul 7, 2020 · 0 comments

Comments

@Michi-123
Copy link

In training, discriminator gradient is set to false while generator is updating.
But I tried with no discriminator lock, and it it seems the result was same.
I wonder the lock code needs in PyTorch?

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

1 participant