-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is the implementation for stage 2 with full distribution matching loss L_distr
#16
Comments
train_IRN+_x4.yml |
Sorry, in As in Eq. 10, there is an extra distribution loss (defined in Eq. 9). In page 10, you stated that Could you please tell me where is the code of |
L_distr
L_distr
We employ the JS divergence as the probability metric for distribution matching (Eq. 7). Following GAN literatures, we implement JS divergence in the adversarial setting where the function T() is regarded as a discriminator. The gan loss in the code is the full distribution matching loss. |
Thanks for your quick reply. I read the paragraphs about losses, but I am still confused: 1, 2, 3, 4, 5, From my understanding, both JS divergence Thank you ahead of time for answering my questions. |
3&4. ESRGAN transforms the distribution of LR images to the distribution of HR images and projects each LR image to one HR image point, while our model, in the inverse procedure, transforms the distribution of latent variable z (combined with each LR image y) to the distribution p(x|y=f^y (x)), which models the lost information between HR and LR images. Therefore the adversarial loss plays different roles in principle: in ESRGAN, it encourages the generated point for each input point to lie on the real image manifold (also hold for conventional GAN distribution), while in our model, it encourages the generated distribution of p(x|y=f^y (x)) for each input point y=f^y (x) to follow our target distribution, i.e. real image manifold around the HR image. So the distributions are essentially different.
|
The given configs (e.g.
train_IRN_x4.yml
) seem to be the stage 1 (pre-training stage).The text was updated successfully, but these errors were encountered: