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 places might need to be revised #13

Open
Endlessio opened this issue Jul 10, 2020 · 0 comments
Open

some places might need to be revised #13

Endlessio opened this issue Jul 10, 2020 · 0 comments

Comments

@Endlessio
Copy link

  1. in jupyter notebook Examples, when applying integrated_gradient, "mask = inter_grad.get_mask(x[0])" might need to be changed to "mask = inter_grad.GetMask(x[0])" cuz from the current implementation, the class method get_mask is GetMask considering it needs to call the super class's method get_mask. So if call integraded_gradient's get mask method as get_mask just like what has been done in the Examples, it will return the exact same images as vanilla's get_mask.

  2. visual_propagation.py, line 15, "outs = [layer.output for layer in model.layers]" might need to be changed to "outs = [layer.output for layer in model.layers][1:]" to ensure the input layer is different from output layer.

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

1 participant