You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content Loss and Style Loss are two loss functions used here.
_compute_style_grad() -------- line 100
_compute_content_grad() -------- line 114
I do not understand why * (Fl>0) when computing gradient.
Is there any specific reason? @fzliu
The text was updated successfully, but these errors were encountered:
If you go through the paper at http://arxiv.org/abs/1508.06576. You will find that the gradient will be 0 when Fl is less or equal to 0 in equation (2). That is why *(Fl > 0) is here.
Content Loss and Style Loss are two loss functions used here.
_compute_style_grad() -------- line 100
_compute_content_grad() -------- line 114
I do not understand why
* (Fl>0)
when computing gradient.Is there any specific reason?
@fzliu
The text was updated successfully, but these errors were encountered: