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

question about compute_discriminator_loss #130

Open
xiaohaipeng opened this issue Nov 5, 2020 · 1 comment
Open

question about compute_discriminator_loss #130

xiaohaipeng opened this issue Nov 5, 2020 · 1 comment

Comments

@xiaohaipeng
Copy link

when compute_discriminator_loss, why set requires_grad=True after .detach()?
fake_image = fake_image.detach() fake_image.requires_grad_()

@15534081591
Copy link

请问您知道什么原因了吗

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