Skip to content

Commit

Permalink
Fixed ndf=ngf bug in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasMosser committed Jul 18, 2017
1 parent 0d4839a commit 14775b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/pytorch/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def weights_init(m):
netG.load_state_dict(torch.load(opt.netG))
print(netG)

netD = dcgan.DCGAN3D_D(opt.imageSize, nz, nc, ngf, ngpu)
netD = dcgan.DCGAN3D_D(opt.imageSize, nz, nc, ndf, ngpu)
netD.apply(weights_init)
if opt.netD != '':
netD.load_state_dict(torch.load(opt.netD))
Expand Down

0 comments on commit 14775b0

Please sign in to comment.