We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I figure self.inv_c = np.sqrt(2.0/(in_ch)) should be self.inv_c = np.sqrt(2.0/(in_ch*ksize**2)) like EqualizedConv2d layer. What do you think? :0
self.inv_c = np.sqrt(2.0/(in_ch))
self.inv_c = np.sqrt(2.0/(in_ch*ksize**2))
original code:
class EqualizedDeconv2d(chainer.Chain): def __init__(self, in_ch, out_ch, ksize, stride, pad): w = chainer.initializers.Normal(1.0) # equalized learning rate self.inv_c = np.sqrt(2.0/(in_ch)) super(EqualizedDeconv2d, self).__init__() with self.init_scope(): self.c = L.Deconvolution2D(in_ch, out_ch, ksize, stride, pad, initialW=w) def __call__(self, x): return self.c(self.inv_c * x)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I figure
self.inv_c = np.sqrt(2.0/(in_ch))
should beself.inv_c = np.sqrt(2.0/(in_ch*ksize**2))
like EqualizedConv2d layer. What do you think? :0original code:
The text was updated successfully, but these errors were encountered: