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

Differences between ModulatedPEConv2d and ModulatedConv2d #152

Closed
IceClear opened this issue Oct 31, 2021 · 2 comments
Closed

Differences between ModulatedPEConv2d and ModulatedConv2d #152

IceClear opened this issue Oct 31, 2021 · 2 comments

Comments

@IceClear
Copy link

IceClear commented Oct 31, 2021

Hi, I noticed that in Styleganv2, ModulatedConv2d is applied. However, there is also a ModulatedPEConv2d function, but seems not used in any model. So what is the difference between ModulatedPEConv2d and ModulatedConv2d. I haven't found any information related to this. Why not use ModulatedPEConv2d instead of ModulatedConv2d? Actually, I saw some checkboard artifacts using Styleganv2 and it seems it is due to the ConvTranspose2d operation. Thus, I wonder whether ModulatedPEConv2d can be applied to solve such a problem. Thanks.

@LeoXing1996
Copy link
Collaborator

ModulatedPEConv2d is used in Positional Encoding as Spatial Inductive Bias in GANs.
Please refer to the original paper and our configs.

@IceClear
Copy link
Author

IceClear commented Nov 1, 2021

Noted with thanks.

@IceClear IceClear closed this as completed Nov 1, 2021
LeoXing1996 pushed a commit to LeoXing1996/mmgeneration that referenced this issue Oct 27, 2022
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

2 participants