aitorzip/PyTorch-CycleGAN

Reason for multiplication and addition after generating outputs

patrick-han opened this issue · 1 comments

What is the reason for adding 1 and multiplying by 0.5 here when generating our "fake" outputs. Is this to reverse the effects of transforms.Normalize()?

Right, it is equivalent to multiplying by sigma, and then adding the mean.