We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5af87 commit 25ce830Copy full SHA for 25ce830
tutorials/11 - Deep Convolutional Generative Adversarial Network/main.py
@@ -102,7 +102,7 @@ def forward(self, x):
102
103
noise = Variable(torch.randn(images.size(0), 128))
104
fake_images = generator(noise)
105
- outputs = discriminator(fake_images.detch())
+ outputs = discriminator(fake_images.detach())
106
fake_loss = criterion(outputs, fake_labels)
107
fake_score = outputs
108
0 commit comments