Skip to content
New issue

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

Why 4x4 Conv in this network, and where this idea come from #44

Open
imlixinyang opened this issue Oct 29, 2018 · 4 comments
Open

Why 4x4 Conv in this network, and where this idea come from #44

imlixinyang opened this issue Oct 29, 2018 · 4 comments

Comments

@imlixinyang
Copy link

In discriminator, style encoder and content encoder, i find 4x4 conv filters. Where this idea came from or i missed something.

@ShihuaHuang95
Copy link

4x4, stride=2, padding=1, in a word, just for downsample

@doantientai
Copy link

From my point of view, using even-sized conv kernels is just to show that Deep networks can work with conv kernel of sizes odd or even, or none-square shapes.

@chychen
Copy link

chychen commented Jun 24, 2019

In my opinion, 4x4 kernel and 2x2 stride conv might be able to alleviate the checkerboard issues.

@caffeinism
Copy link

I think it is just the originality of the DCGAN paper (Deconvolution and convolution with kernel size 4).

And there seems to be no reason in DCGAN's convolution layer.

See the following author's article.
https://discuss.pytorch.org/t/in-dcgan-why-the-kernel-size-of-4-is-used/20616/2

In deconvolution, however, it is convenient to upscale the size of a feature map exactly twice.

I think that the intentions of the authors of DCGAN, which attempted to make the generator and discriminator equal, seem to have become a de facto standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants