raghakot / keras-vis

Neural network visualization toolkit for keras
https://raghakot.github.io/keras-vis
MIT License
2.97k stars 664 forks source link

get_gradients loss is the output of the NN #111

Open sulantha2006 opened 6 years ago

sulantha2006 commented 6 years ago

This may be a more of a theoretical question. But, when calculating the saliency maps and the guided back prop, when calculating the loss to get the gradients, the output is used (of the class). Is it how the loss needs to be calculated for saliency and guided back prop? Thank you.