updated progan

This commit is contained in:
Aladdin Persson
2021-03-24 13:01:45 +01:00
parent 59b1de7bfe
commit 74597aa8fd
5 changed files with 15 additions and 26 deletions

View File

@@ -134,7 +134,7 @@ class Generator(nn.Module):
class Discriminator(nn.Module):
def __init__(self, in_channels, img_channels=3):
def __init__(self, z_dim, in_channels, img_channels=3):
super(Discriminator, self).__init__()
self.prog_blocks, self.rgb_layers = nn.ModuleList([]), nn.ModuleList([])
self.leaky = nn.LeakyReLU(0.2)