You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside the compute_spectral_norm, you did not update anything and return back the old kernel.
Inside the call function, the
if self.activation is not None:
will always be true (even though we pass None to the activation function, tensorflow internally will treat this as a linear function) thus this will just become a normal convolution.
The text was updated successfully, but these errors were encountered:
Hi
I think there is something wrong in you SpectralConv2D
`def compute_spectral_norm(self):
for _ in range(self.power_iterations):
k = tf.reshape(self.kernel, (-1, self.filters))
Inside the compute_spectral_norm, you did not update anything and return back the old kernel.
Inside the call function, the
if self.activation is not None:
will always be true (even though we pass None to the activation function, tensorflow internally will treat this as a linear function) thus this will just become a normal convolution.
The text was updated successfully, but these errors were encountered: