Skip to content

Commit bdf8ded

Browse files
authored
Update models.py
1 parent fb5859d commit bdf8ded

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ def encoder_step(layer, Nf, norm=True):
9797
else:
9898
x = encoder_step(x, Nfilter_start*np.power(2,d))
9999

100-
x = ZeroPadding3D()
100+
x = ZeroPadding3D()(x)
101101
x = Conv3D(Nfilter_start*(2**depth), ks, strides=1, padding='valid', kernel_initializer='he_normal')(x)
102102
x = InstanceNormalization()(x)
103103
x = LeakyReLU()(x)
104104

105-
x = ZeroPadding3D()
105+
x = ZeroPadding3D()(x)
106106
last = Conv3D(1, ks, strides=1, padding='valid', kernel_initializer='he_normal', name='output_discriminator')(x)
107107

108108
return Model(inputs=[targets, inputs], outputs=last, name='Discriminator')

0 commit comments

Comments
 (0)