UNSB
UNSB copied to clipboard
Potential bug found in ResnetBlock_cond
https://github.com/cyclomon/UNSB/blob/d1f644f7777e19d5afe5aea3e5cb4bd3afd9b88b/models/ncsn_networks.py#L538
Is there a reason why it is out = layer(x) instead of out = layer(out)?
i think x is right. in line 538, out is not defined
I would like to also add that it is in the for loop to pass through each layer of the network. So surely it should be:
out = x
for n,layer in enumerate(self.conv_block):
out = layer(out)
right?
Yes, i think so, the original code has bug