More pixdisc fixes

This commit is contained in:
James Betker 2020-07-05 22:03:16 -06:00
parent 909007ee6a
commit 72f90cabf8

View File

@ -107,7 +107,7 @@ class Discriminator_VGG_PixLoss(nn.Module):
self.bn4_1 = nn.BatchNorm2d(nf * 8, affine=True)
self.reduce_1 = ConvBnLelu(nf * 8, nf * 4, bias=False)
self.pix_loss_collapse = ConvBnLelu(nf * 4, 1, bias=False)
self.pix_loss_collapse = ConvBnLelu(nf * 4, 1, bias=False, bn=False, lelu=False)
# activation function
self.lrelu = nn.LeakyReLU(negative_slope=0.2, inplace=True)