stylegan2-pytorch icon indicating copy to clipboard operation
stylegan2-pytorch copied to clipboard

why the self.bias of the class "StyledConv" is commented?

Open jasonfjptchh0821 opened this issue 3 years ago • 2 comments

Why the self.bias of the class "StyledConv" is commented? It seems that the StyledConv layer has bias int the original StyleGAN2 architecture

jasonfjptchh0821 avatar Feb 16 '22 04:02 jasonfjptchh0821

Hi, are you able to understand why they commented it out in the code? I've always been curious about that part

duxiaodan avatar Aug 29 '23 23:08 duxiaodan

@rosinality I'll be really grateful if you could give us a hint on why bias is commented out.

The code I refered to is below:

https://github.com/rosinality/stylegan2-pytorch/blob/bef283a1c24087da704d16c30abc8e36e63efa0e/model.py#L356C70-L356C70

duxiaodan avatar Aug 29 '23 23:08 duxiaodan