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

about 'affine' param in InstanceNorm2d #31

Closed
YongshengDong opened this issue Aug 11, 2021 · 1 comment
Closed

about 'affine' param in InstanceNorm2d #31

YongshengDong opened this issue Aug 11, 2021 · 1 comment

Comments

@YongshengDong
Copy link

Hi,
The affine in nn.InstanceNorm2d make me confused, why some use True and some use False in Generator?

@wtjiang98
Copy link
Owner

Hi, The affine in nn.InstanceNorm2d make me confused, why some use True and some use False in Generator?

You can refer to the paper for this detail. If you use the gamma and beta generated by AMM, you should set the affine in nn.InstanceNorm2d to be False.

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