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

Why not calculating TVloss during forward pass? #57

Open
kaca0083 opened this issue Sep 26, 2016 · 1 comment
Open

Why not calculating TVloss during forward pass? #57

kaca0083 opened this issue Sep 26, 2016 · 1 comment

Comments

@kaca0083
Copy link

Hi. Comparing TVLoss:updateOutput(input) with TextureLoss:updateOutput(input), I found that the code didn't calculate TVLoss during forward pass but only calculate the gradient of TVLoss during backward pass. Any idea why?

@austingg
Copy link

austingg commented Oct 12, 2016

in fact the TV Loss is used to keeping the result image smooth. It only affect the input image, not affect the conv layers.

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