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

Some about implementation #43

Open
DavieHR opened this issue Aug 9, 2016 · 2 comments
Open

Some about implementation #43

DavieHR opened this issue Aug 9, 2016 · 2 comments

Comments

@DavieHR
Copy link

DavieHR commented Aug 9, 2016

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!

@jackieyung
Copy link

I also had such a question.Have you solved it? Thank you.@DavieHR

@AbstractSkys
Copy link

I also had such question ( >﹏<。). @fzliu

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

3 participants