Skip to content
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

No residual connections #48

Closed
Sooryakiran opened this issue Dec 4, 2019 · 3 comments
Closed

No residual connections #48

Sooryakiran opened this issue Dec 4, 2019 · 3 comments

Comments

@Sooryakiran
Copy link

The original paper mentions a residual connection in the generator, and probably I guess that is why you used tanh instead of sigmoid in the generator output. But the given code in the file
SinGAN/models.py
does not seem to contain any residual connections.

@Sooryakiran
Copy link
Author

Training with residual connections gives comparable results with just half the number of steps per scale.

@tamarott
Copy link
Owner

tamarott commented Dec 4, 2019

line 63 in SinGAN/models.py: "return x+y" performs summation between the learned output to the clean input image, as described in the paper (see figure 5: https://arxiv.org/pdf/1905.01164.pdf)

@Sooryakiran
Copy link
Author

Thank you for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants