criterion = nn.BCELoss()
fixed_noise = torch.randn(64, nz, 1, 1, device=device)
real_label = 1
fake_label = 0
optimizerD = optim.Adam(netD.parameters(), lr=lr, betas=(beta1, 0.999))
optimizerG = optim.Adam(netG.parameters(), lr=lr, betas=(beta1, 0.999))
Created
February 13, 2020 06:46
-
-
Save SubhadityaMukherjee/d6665793faf71323fe4a7c65453f6c64 to your computer and use it in GitHub Desktop.
loss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment