andreas128 / SRFlow

Official SRFlow training code: Super-Resolution using Normalizing Flow in PyTorch
Other
831 stars 111 forks source link

Use of scale = (torch.sigmoid(scale + 2.) + self.affine_eps) #9

Closed aryanshomray closed 1 year ago

aryanshomray commented 3 years ago

I am not able to understand the use of sigmoid in the scaling.