Change PatchGAN architecture
This commit is contained in:
parent
1dd2b6d748
commit
a2e3a9dc64
@ -10,9 +10,8 @@ class PatchGAN(nn.Module):
|
|||||||
self.convs = nn.Sequential(
|
self.convs = nn.Sequential(
|
||||||
ConvBlock(in_chan, 32, seq='CA'),
|
ConvBlock(in_chan, 32, seq='CA'),
|
||||||
ConvBlock(32, 64, seq='CBA'),
|
ConvBlock(32, 64, seq='CBA'),
|
||||||
ConvBlock(64, seq='CBA'),
|
ConvBlock(64, 128, seq='CBA'),
|
||||||
ConvBlock(64, 32, seq='CBA'),
|
ConvBlock(128, out_chan, seq='C'),
|
||||||
nn.Conv3d(32, out_chan, 1),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
|
Loading…
Reference in New Issue
Block a user