-
Notifications
You must be signed in to change notification settings - Fork 34
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
Returning the Hessian of the empirical risk #30
Comments
Hi tranlm, Did you mean Hessian vector product like here? If you are using python tensorflow, you have to import python module and just call as below. from tensorflow.python.ops.gradients_impl import _hessian_vector_product
_hessian_vector_product(ys, xs, v) In our code in here for Hessian vector product. Thank you. |
Thanks! I noticed while looking into this that the original authors have also released their code implementation of the paper. Have you noticed any implementation differences? |
Our implementation is basically not much different. The original one only considered output layer as trainable parameters to calculate influence and it only applied to their experimental networks, but ours use all layers and is more general applicable to any networks, and more optimized and easy to use. |
Hi,
I came across your implementation of the Influence Function and am interested in separately grabbing the Hessian that is needed for the calculations. Is there a way for me to grab it without having to break apart the code?
thank you very much.
The text was updated successfully, but these errors were encountered: