You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I know it's been quite a while since the publication of the code but I wanted to check on a difference between the paper and the code.
According to the paper, Gaussian noise is meant to be injected in each of the RRDB blocks, but it looks like in the code there is an extra check disabling the noise unless the model is in training mode only. block.py:118
This would mean that for all times the model is used in model.eval() mode including in both test.py:18test.py:56 scripts, that the Gaussian noise is actually disabled, which would affect the metrics and output.
I have double checked this myself by running an evaluation tensor through the model in training and eval modes and the outputs are different. So my questions is, is Gaussian noise meant to only be injected during training, or should the self.training check be removed?
Hello,
Thank you for pointing that out. The noise injection for this work is only for training. We extented this in another work (https://arxiv.org/abs/2009.12177) which exploits the noise during test time.
Hello, I know it's been quite a while since the publication of the code but I wanted to check on a difference between the paper and the code.
According to the paper, Gaussian noise is meant to be injected in each of the RRDB blocks, but it looks like in the code there is an extra check disabling the noise unless the model is in training mode only. block.py:118
This would mean that for all times the model is used in
model.eval()
mode including in both test.py:18 test.py:56 scripts, that the Gaussian noise is actually disabled, which would affect the metrics and output.I have double checked this myself by running an evaluation tensor through the model in training and eval modes and the outputs are different. So my questions is, is Gaussian noise meant to only be injected during training, or should the
self.training
check be removed?The text was updated successfully, but these errors were encountered: