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
Hi,Frank. BRILLIANT WORK. BUT, I have some question about your implementation.
In the file style.py ,you write the code in the line 184 to 210.
grad = net.blobs[layer].diff[0]
grad += wl * g.reshape(grad.shape) * ratio
grad = net.blobs[next_layer].diff[0]
why you sum the net grad to the loss grad? and why you use the next_layer grad to override the total grad?
THANK YOU!
The text was updated successfully, but these errors were encountered:
Hi,Frank. BRILLIANT WORK. BUT, I have some question about your implementation.
In the file style.py ,you write the code in the line 184 to 210.
grad = net.blobs[layer].diff[0]
grad += wl * g.reshape(grad.shape) * ratio
grad = net.blobs[next_layer].diff[0]
why you sum the net grad to the loss grad? and why you use the next_layer grad to override the total grad?
THANK YOU!
The text was updated successfully, but these errors were encountered: