Open xiaohaipeng opened 4 years ago
when compute_discriminator_loss, why set requires_grad=True after .detach()? fake_image = fake_image.detach() fake_image.requires_grad_()
fake_image = fake_image.detach() fake_image.requires_grad_()
请问您知道什么原因了吗
when compute_discriminator_loss, why set requires_grad=True after .detach()?
fake_image = fake_image.detach() fake_image.requires_grad_()