PIRender icon indicating copy to clipboard operation
PIRender copied to clipboard

A bug in the residual layer

Open mk-0 opened this issue 4 years ago • 1 comments

Thank you for this great project. I've been playing with it for some time and noticed that FineADAINResBlock2d (and therefore also FineADAINResBlocks) is just a linear layer with no activation, because line 346 has self.conv2(x), instead of self.conv2(dx)

https://github.com/RenYurui/PIRender/blob/96a157ec907047c1c2e5e5b9b9f999594805f37a/generators/base_function.py#L344-L348

mk-0 avatar Nov 22 '21 10:11 mk-0

Thank you

sdulyq avatar Oct 24 '22 08:10 sdulyq